Color #5f6a9b
A muted medium blue.
Conversions
#5f6a9b
rgb(95, 106, 155)
hsl(229, 24%, 49%)
hsv(229, 38.7%, 60.8%)
cmyk(38.7%, 31.6%, 0%, 39.2%)
lab(45.78, 8.56, -27.94)
lch(45.78, 29.22, 287.03)
oklch(53.6%, 0.0782, 273.81)
hwb(229, 37.3%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (5.22:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#646491 · ΔE 4
Deuteranopia
#63628f · ΔE 4.6
Tritanopia
#608987 · ΔE 24.5
Achromatopsia
#6c6c6c · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6a9b;
bg-[#5f6a9b]
Related colors
Frequently asked questions
#5f6a9b (#5f6a9b) is rgb(95, 106, 155) in RGB.
No, #5f6a9b 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 #5f6a9b, or check how it holds up for accessibility.