Skip to content
Kolorvia
#5f5e8c

Color #5f5e8c

A muted medium blue.

Conversions

HEX
#5f5e8c
RGB
rgb(95, 94, 140)
HSL
hsl(241.3, 19.7%, 45.9%)
HSV / HSB
hsv(241.3, 32.9%, 54.9%)
CMYK
cmyk(32.1%, 32.9%, 0%, 45.1%)
LAB
lab(41.74, 11.71, -25.29)
LCH
lch(41.74, 27.87, 294.85)
OKLCH
oklch(50.2%, 0.0726, 284.44)
HWB
hwb(241.3, 36.9%, 45.1%)

Harmony colors

Complementary

#8b8c5e

Analogous

#5e748c
#5f5e8c
#765e8c

Triadic

#5f5e8c
#8c5f5e
#5e8c5f

Split-complementary

#5f5e8c
#8c765e
#748c5e

Tetradic

#5f5e8c
#8c5e8b
#8b8c5e
#5e8c5f

Square

#5f5e8c
#8c5e74
#8b8c5e
#5e8c76

Shades

Color #5f5e8c mixed toward black.

#4f4e75
#3f3f5d
#2f2f46
#201f2f
#101017

Tints

Color #5f5e8c mixed toward white.

#7675a3
#9291b5
#adacc8
#c8c8da
#e4e3ed

Tones

Color #5f5e8c mixed toward gray.

#636288
#666684
#6a6a81
#6e6d7d
#717179

Accessibility

Aa White text on this color
6.06:1
Aa Black text on this color
3.47:1

White text reads better on this background (6.06:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#5f5f83 · ΔE 2.8

Deuteranopia

#5f5f80 · ΔE 3.7

Tritanopia

#5f7b79 · ΔE 24.3

Achromatopsia

#626262 · ΔE 18

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5f5e8c;
Tailwind (arbitrary value)
bg-[#5f5e8c]

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#5f5e8c (#5f5e8c) is rgb(95, 94, 140) in RGB.

No, #5f5e8c is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5f5e8c, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.