Color #317b8c
A moderately saturated dark cyan.
Conversions
#317b8c
rgb(49, 123, 140)
hsl(191.2, 48.1%, 37.1%)
hsv(191.2, 65%, 54.9%)
cmyk(65%, 12.1%, 0%, 45.1%)
lab(47.89, -17.25, -16.02)
lch(47.89, 23.54, 222.88)
oklch(54.4%, 0.0766, 215.49)
hwb(191.2, 19.2%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (4.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5b88 · ΔE 23.3
Deuteranopia
#565087 · ΔE 25.3
Tritanopia
#388584 · ΔE 8.7
Achromatopsia
#727272 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #317b8c;
bg-[#317b8c]
Related colors
Frequently asked questions
#317b8c (#317b8c) is rgb(49, 123, 140) in RGB.
No, #317b8c 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 #317b8c, or check how it holds up for accessibility.