Color #1f233a
A muted very dark blue.
Conversions
#1f233a
rgb(31, 35, 58)
hsl(231.1, 30.3%, 17.5%)
hsv(231.1, 46.6%, 22.7%)
cmyk(46.6%, 39.7%, 0%, 77.3%)
lab(14.39, 5.39, -15.43)
lch(14.39, 16.34, 289.26)
oklch(26.4%, 0.0434, 275.55)
hwb(231.1, 12.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212135 · ΔE 2
Deuteranopia
#212034 · ΔE 2.4
Tritanopia
#1f3131 · ΔE 17.2
Achromatopsia
#242424 · ΔE 12.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f233a;
bg-[#1f233a]
Related colors
Frequently asked questions
#1f233a (#1f233a) is rgb(31, 35, 58) in RGB.
No, #1f233a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #1f233a, or check how it holds up for accessibility.