Color #5f45a4
A moderately saturated medium blue.
Conversions
#5f45a4
rgb(95, 69, 164)
hsl(256.4, 40.8%, 45.7%)
hsv(256.4, 57.9%, 64.3%)
cmyk(42.1%, 57.9%, 0%, 35.7%)
lab(36.69, 34.08, -47.73)
lch(36.69, 58.65, 305.53)
oklch(46.9%, 0.1469, 292.41)
hwb(256.4, 27.1%, 35.7%)
Harmony colors
Accessibility
White text reads better on this background (7.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#555594 · ΔE 7.2
Deuteranopia
#565890 · ΔE 8.6
Tritanopia
#5e8582 · ΔE 31.5
Achromatopsia
#565656 · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f45a4;
bg-[#5f45a4]
Related colors
Frequently asked questions
#5f45a4 (#5f45a4) is rgb(95, 69, 164) in RGB.
No, #5f45a4 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 #5f45a4, or check how it holds up for accessibility.