Color #1f7c9c
A moderately saturated dark cyan.
Conversions
#1f7c9c
rgb(31, 124, 156)
hsl(195.4, 66.8%, 36.7%)
hsv(195.4, 80.1%, 61.2%)
cmyk(80.1%, 20.5%, 0%, 38.8%)
lab(48.39, -14.94, -24.69)
lch(48.39, 28.86, 238.82)
oklch(54.9%, 0.0957, 226.4)
hwb(195.4, 12.2%, 38.8%)
Harmony colors
Accessibility
White text reads better on this background (4.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#575895 · ΔE 21.7
Deuteranopia
#524b93 · ΔE 24.4
Tritanopia
#2a8f8e · ΔE 14.8
Achromatopsia
#737373 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f7c9c;
bg-[#1f7c9c]
Related colors
Frequently asked questions
#1f7c9c (#1f7c9c) is rgb(31, 124, 156) in RGB.
No, #1f7c9c 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 #1f7c9c, or check how it holds up for accessibility.