Color #1f404a
A moderately saturated dark cyan.
Conversions
#1f404a
rgb(31, 64, 74)
hsl(194, 41%, 20.6%)
hsv(194, 58.1%, 29%)
cmyk(58.1%, 13.5%, 0%, 71%)
lab(25.11, -8.77, -9.79)
lch(25.11, 13.14, 228.15)
oklch(35.1%, 0.0423, 219.82)
hwb(194, 12.2%, 71%)
Harmony colors
Accessibility
White text reads better on this background (11.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303148 · ΔE 17.1
Deuteranopia
#2e2c47 · ΔE 19.4
Tritanopia
#214645 · ΔE 7
Achromatopsia
#3c3c3c · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f404a;
bg-[#1f404a]
Related colors
Frequently asked questions
#1f404a (#1f404a) is rgb(31, 64, 74) in RGB.
No, #1f404a 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 #1f404a, or check how it holds up for accessibility.