Color #1f414b
A moderately saturated dark cyan.
Conversions
#1f414b
rgb(31, 65, 75)
hsl(193.6, 41.5%, 20.8%)
hsv(193.6, 58.7%, 29.4%)
cmyk(58.7%, 13.3%, 0%, 70.6%)
lab(25.5, -9.05, -9.85)
lch(25.5, 13.38, 227.42)
oklch(35.4%, 0.0431, 219.26)
hwb(193.6, 12.2%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (10.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313149 · ΔE 18
Deuteranopia
#2f2c48 · ΔE 20.1
Tritanopia
#224746 · ΔE 6.9
Achromatopsia
#3c3c3c · ΔE 12.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f414b;
bg-[#1f414b]
Related colors
Frequently asked questions
#1f414b (#1f414b) is rgb(31, 65, 75) in RGB.
No, #1f414b 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 #1f414b, or check how it holds up for accessibility.