Color #1f2a2e
A muted very dark cyan.
Conversions
#1f2a2e
rgb(31, 42, 46)
hsl(196, 19.5%, 15.1%)
hsv(196, 32.6%, 18%)
cmyk(32.6%, 8.7%, 0%, 82%)
lab(16.23, -3.55, -4.15)
lch(16.23, 5.46, 229.46)
oklch(27.6%, 0.0169, 222.11)
hwb(196, 12.2%, 82%)
Harmony colors
Accessibility
White text reads better on this background (14.7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24242d · ΔE 8.2
Deuteranopia
#24232d · ΔE 9.3
Tritanopia
#202c2c · ΔE 3
Achromatopsia
#282828 · ΔE 5.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2a2e;
bg-[#1f2a2e]
Related colors
Frequently asked questions
#1f2a2e (#1f2a2e) is rgb(31, 42, 46) in RGB.
No, #1f2a2e 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 #1f2a2e, or check how it holds up for accessibility.