Color #1d1f47
A moderately saturated very dark blue.
Conversions
#1d1f47
rgb(29, 31, 71)
hsl(237.1, 42%, 19.6%)
hsv(237.1, 59.2%, 27.8%)
cmyk(59.2%, 56.3%, 0%, 72.2%)
lab(13.8, 12.58, -25.45)
lch(13.8, 28.39, 296.3)
oklch(26.2%, 0.0733, 277.92)
hwb(237.1, 11.4%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (15.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e40 · ΔE 2
Deuteranopia
#1e1e3e · ΔE 2.6
Tritanopia
#1d3a38 · ΔE 24.6
Achromatopsia
#232323 · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1d1f47;
bg-[#1d1f47]
Related colors
Frequently asked questions
#1d1f47 (#1d1f47) is rgb(29, 31, 71) in RGB.
No, #1d1f47 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 #1d1f47, or check how it holds up for accessibility.