Color #1f2726
A nearly neutral, gray-leaning very dark cyan.
Conversions
#1f2726
rgb(31, 39, 38)
hsl(172.5, 11.4%, 13.7%)
hsv(172.5, 20.5%, 15.3%)
cmyk(20.5%, 0%, 2.6%, 84.7%)
lab(14.86, -3.79, -0.52)
lch(14.86, 3.83, 187.81)
oklch(26.5%, 0.0115, 187)
hwb(172.5, 12.2%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (15.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232326 · ΔE 6.3
Deuteranopia
#222226 · ΔE 6.9
Tritanopia
#1f2626 · ΔE 1
Achromatopsia
#252525 · ΔE 5.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2726;
bg-[#1f2726]
Related colors
Frequently asked questions
#1f2726 (#1f2726) is rgb(31, 39, 38) in RGB.
No, #1f2726 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 #1f2726, or check how it holds up for accessibility.