Color #1c1f2f
A muted very dark blue.
Conversions
#1c1f2f
rgb(28, 31, 47)
hsl(230.5, 25.3%, 14.7%)
hsv(230.5, 40.4%, 18.4%)
cmyk(40.4%, 34%, 0%, 81.6%)
lab(12.17, 3.49, -11.07)
lch(12.17, 11.61, 287.5)
oklch(24.4%, 0.0309, 275.77)
hwb(230.5, 11%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d2c · ΔE 1.6
Deuteranopia
#1d1d2b · ΔE 1.7
Tritanopia
#1c2928 · ΔE 13.8
Achromatopsia
#202020 · ΔE 9.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1c1f2f;
bg-[#1c1f2f]
Related colors
Frequently asked questions
#1c1f2f (#1c1f2f) is rgb(28, 31, 47) in RGB.
No, #1c1f2f is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #1c1f2f, or check how it holds up for accessibility.