Color #1f192e
A muted very dark blue.
Conversions
#1f192e
rgb(31, 25, 46)
hsl(257.1, 29.6%, 13.9%)
hsv(257.1, 45.7%, 18%)
cmyk(32.6%, 45.7%, 0%, 82%)
lab(10.44, 8.78, -13.02)
lch(10.44, 15.7, 303.99)
oklch(23.1%, 0.0405, 296.25)
hwb(257.1, 9.8%, 82%)
Harmony colors
Accessibility
White text reads better on this background (16.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1c2a · ΔE 4.6
Deuteranopia
#1d1d29 · ΔE 6
Tritanopia
#1f2626 · ΔE 16.1
Achromatopsia
#1c1c1c · ΔE 13
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f192e;
bg-[#1f192e]
Related colors
Frequently asked questions
#1f192e (#1f192e) is rgb(31, 25, 46) in RGB.
No, #1f192e 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 #1f192e, or check how it holds up for accessibility.