Skip to content
Kolorvia
#5a5ccf

Color #5a5ccf

A moderately saturated medium blue.

Conversions

HEX
#5a5ccf
RGB
rgb(90, 92, 207)
HSL
hsl(239, 54.9%, 58.2%)
HSV / HSB
hsv(239, 56.5%, 81.2%)
CMYK
cmyk(56.5%, 55.6%, 0%, 18.8%)
LAB
lab(44.7, 32.24, -60)
LCH
lch(44.7, 68.11, 298.25)
OKLCH
oklch(53.6%, 0.1737, 278.04)
HWB
hwb(239, 35.3%, 18.8%)

Harmony colors

Complementary

#cfcd5a

Analogous

#5a96cf
#5a5ccf
#925acf

Triadic

#5a5ccf
#cf5a5c
#5ccf5a

Split-complementary

#5a5ccf
#cf925a
#96cf5a

Tetradic

#5a5ccf
#cd5acf
#cfcd5a
#5ccf5a

Square

#5a5ccf
#cf5a96
#cfcd5a
#5acf92

Shades

Color #5a5ccf mixed toward black.

#383ac0
#2d2e99
#212373
#16174d
#0b0c26

Tints

Color #5a5ccf mixed toward white.

#7577d7
#9192df
#acade7
#c8c9ef
#e3e4f7

Tones

Color #5a5ccf mixed toward gray.

#6465c5
#6d6fbb
#7778b2
#8182a8
#8b8b9e

Accessibility

Aa White text on this color
5.43:1
Aa Black text on this color
3.87:1

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

Under color vision deficiencies

Protanopia

#5b5bbb · ΔE 3

Deuteranopia

#5b5bb6 · ΔE 3.8

Tritanopia

#5aaaa5 · ΔE 37.9

Achromatopsia

#6a6a6a · ΔE 27

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

Code

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

Related colors

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

Frequently asked questions

#5a5ccf (#5a5ccf) is rgb(90, 92, 207) in RGB.

No, #5a5ccf is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5a5ccf, 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.