Color #5f7a8b
A muted medium blue.
Conversions
#5f7a8b
rgb(95, 122, 139)
hsl(203.2, 18.8%, 45.9%)
hsv(203.2, 31.7%, 54.5%)
cmyk(31.7%, 12.2%, 0%, 45.5%)
lab(49.76, -5.43, -12.4)
lch(49.76, 13.54, 246.35)
oklch(56.5%, 0.0409, 236.08)
hwb(203.2, 37.3%, 45.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.64:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6c87 · ΔE 14.1
Deuteranopia
#6a6886 · ΔE 15.6
Tritanopia
#618483 · ΔE 10.5
Achromatopsia
#767676 · ΔE 11.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f7a8b;
bg-[#5f7a8b]
Related colors
Frequently asked questions
#5f7a8b (#5f7a8b) is rgb(95, 122, 139) in RGB.
No, #5f7a8b 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 #5f7a8b, or check how it holds up for accessibility.