Color #1d2542
A muted very dark blue.
Conversions
#1d2542
rgb(29, 37, 66)
hsl(227, 38.9%, 18.6%)
hsv(227, 56.1%, 25.9%)
cmyk(56.1%, 43.9%, 0%, 74.1%)
lab(15.37, 6.22, -19.49)
lch(15.37, 20.46, 287.7)
oklch(27.3%, 0.0551, 270.73)
hwb(227, 11.4%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (15.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21213c · ΔE 3.1
Deuteranopia
#20203b · ΔE 3.3
Tritanopia
#1d3836 · ΔE 20.9
Achromatopsia
#262626 · ΔE 14.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1d2542;
bg-[#1d2542]
Related colors
Frequently asked questions
#1d2542 (#1d2542) is rgb(29, 37, 66) in RGB.
No, #1d2542 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 #1d2542, or check how it holds up for accessibility.