Color #604c97
A muted medium blue.
Conversions
#604c97
rgb(96, 76, 151)
hsl(256, 33%, 44.5%)
hsv(256, 49.7%, 59.2%)
cmyk(36.4%, 49.7%, 0%, 40.8%)
lab(37.64, 26.34, -38.37)
lch(37.64, 46.54, 304.47)
oklch(47.3%, 0.1183, 293.68)
hwb(256, 29.8%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (7.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#585889 · ΔE 6.5
Deuteranopia
#595b86 · ΔE 8
Tritanopia
#5f7d7b · ΔE 27.5
Achromatopsia
#595959 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #604c97;
bg-[#604c97]
Related colors
Frequently asked questions
#604c97 (#604c97) is rgb(96, 76, 151) in RGB.
No, #604c97 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 #604c97, or check how it holds up for accessibility.