Color #5f7198
A muted medium blue.
Conversions
#5f7198
rgb(95, 113, 152)
hsl(221.1, 23.1%, 48.4%)
hsv(221.1, 37.5%, 59.6%)
cmyk(37.5%, 25.7%, 0%, 40.4%)
lab(47.64, 3.44, -23.29)
lch(47.64, 23.54, 278.4)
oklch(55%, 0.0649, 265.14)
hwb(221.1, 37.3%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#676790 · ΔE 6.6
Deuteranopia
#66658e · ΔE 7.2
Tritanopia
#608987 · ΔE 21.3
Achromatopsia
#717171 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f7198;
bg-[#5f7198]
Related colors
Frequently asked questions
#5f7198 (#5f7198) is rgb(95, 113, 152) in RGB.
No, #5f7198 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 #5f7198, or check how it holds up for accessibility.