Color #1a1f29
A muted very dark blue.
Conversions
#1a1f29
rgb(26, 31, 41)
hsl(220, 22.4%, 13.1%)
hsv(220, 36.6%, 16.1%)
cmyk(36.6%, 24.4%, 0%, 83.9%)
lab(11.69, 0.73, -7.48)
lch(11.69, 7.52, 275.57)
oklch(23.9%, 0.0207, 264.18)
hwb(220, 10.2%, 83.9%)
Harmony colors
Accessibility
White text reads better on this background (16.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c27 · ΔE 3.4
Deuteranopia
#1c1c26 · ΔE 3.1
Tritanopia
#1a2525 · ΔE 8.7
Achromatopsia
#1f1f1f · ΔE 6.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1f29;
bg-[#1a1f29]
Related colors
Frequently asked questions
#1a1f29 (#1a1f29) is rgb(26, 31, 41) in RGB.
No, #1a1f29 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 #1a1f29, or check how it holds up for accessibility.