Color #1f7f9b
A moderately saturated dark cyan.
Conversions
#1f7f9b
rgb(31, 127, 155)
hsl(193.5, 66.7%, 36.5%)
hsv(193.5, 80%, 60.8%)
cmyk(80%, 18.1%, 0%, 39.2%)
lab(49.3, -16.96, -22.71)
lch(49.3, 28.34, 233.25)
oklch(55.6%, 0.0942, 222.55)
hwb(193.5, 12.2%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (4.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#595a95 · ΔE 22.9
Deuteranopia
#544d93 · ΔE 25.5
Tritanopia
#2a908f · ΔE 13.2
Achromatopsia
#757575 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f7f9b;
bg-[#1f7f9b]
Related colors
Frequently asked questions
#1f7f9b (#1f7f9b) is rgb(31, 127, 155) in RGB.
No, #1f7f9b 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 #1f7f9b, or check how it holds up for accessibility.