Color #1f243a
A muted very dark blue.
Conversions
#1f243a
rgb(31, 36, 58)
hsl(228.9, 30.3%, 17.5%)
hsv(228.9, 46.6%, 22.7%)
cmyk(46.6%, 37.9%, 0%, 77.3%)
lab(14.73, 4.66, -14.91)
lch(14.73, 15.62, 287.36)
oklch(26.7%, 0.0418, 273.43)
hwb(228.9, 12.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212136 · ΔE 2.4
Deuteranopia
#212134 · ΔE 2.4
Tritanopia
#1f3231 · ΔE 17.2
Achromatopsia
#252525 · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f243a;
bg-[#1f243a]
Related colors
Frequently asked questions
#1f243a (#1f243a) is rgb(31, 36, 58) in RGB.
No, #1f243a 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 #1f243a, or check how it holds up for accessibility.