Color #5f74cc
A moderately saturated medium blue.
Conversions
#5f74cc
rgb(95, 116, 204)
hsl(228.4, 51.7%, 58.6%)
hsv(228.4, 53.4%, 80%)
cmyk(53.4%, 43.1%, 0%, 20%)
lab(51.02, 17.48, -48.14)
lch(51.02, 51.22, 289.96)
oklch(58.4%, 0.1368, 271.51)
hwb(228.4, 37.3%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (4.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6969bc · ΔE 5.7
Deuteranopia
#6766b7 · ΔE 6.7
Tritanopia
#60adaa · ΔE 31.7
Achromatopsia
#797979 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f74cc;
bg-[#5f74cc]
Related colors
Frequently asked questions
#5f74cc (#5f74cc) is rgb(95, 116, 204) in RGB.
No, #5f74cc 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 #5f74cc, or check how it holds up for accessibility.