Color #1e1f31
A muted very dark blue.
Conversions
#1e1f31
rgb(30, 31, 49)
hsl(236.8, 24.1%, 15.5%)
hsv(236.8, 38.8%, 19.2%)
cmyk(38.8%, 36.7%, 0%, 80.8%)
lab(12.47, 4.9, -12.04)
lch(12.47, 13, 292.15)
oklch(24.7%, 0.0341, 281.15)
hwb(236.8, 11.8%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (16.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e2d · ΔE 1.5
Deuteranopia
#1e1e2c · ΔE 2
Tritanopia
#1e2a29 · ΔE 15
Achromatopsia
#202020 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1e1f31;
bg-[#1e1f31]
Related colors
Frequently asked questions
#1e1f31 (#1e1f31) is rgb(30, 31, 49) in RGB.
No, #1e1f31 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 #1e1f31, or check how it holds up for accessibility.