Color #1f2f38
A muted very dark blue.
Conversions
#1f2f38
rgb(31, 47, 56)
hsl(201.6, 28.7%, 17.1%)
hsv(201.6, 44.6%, 22%)
cmyk(44.6%, 16.1%, 0%, 78%)
lab(18.41, -3.79, -7.84)
lch(18.41, 8.71, 244.2)
oklch(29.5%, 0.0269, 233.47)
hwb(201.6, 12.2%, 78%)
Harmony colors
Accessibility
White text reads better on this background (13.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272736 · ΔE 10.5
Deuteranopia
#262535 · ΔE 11.5
Tritanopia
#203434 · ΔE 6.7
Achromatopsia
#2d2d2d · ΔE 8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2f38;
bg-[#1f2f38]
Related colors
Frequently asked questions
#1f2f38 (#1f2f38) is rgb(31, 47, 56) in RGB.
No, #1f2f38 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 #1f2f38, or check how it holds up for accessibility.