Skip to content
Kolorvia
#5f45ab

Color #5f45ab

A moderately saturated medium blue.

Conversions

HEX
#5f45ab
RGB
rgb(95, 69, 171)
HSL
hsl(255.3, 42.5%, 47.1%)
HSV / HSB
hsv(255.3, 59.6%, 67.1%)
CMYK
cmyk(44.4%, 59.6%, 0%, 32.9%)
LAB
lab(37.17, 36.11, -51.13)
LCH
lch(37.17, 62.6, 305.23)
OKLCH
oklch(47.3%, 0.1561, 290.98)
HWB
hwb(255.3, 27.1%, 32.9%)

Harmony colors

Complementary

#91ab45

Analogous

#455eab
#5f45ab
#9245ab

Triadic

#5f45ab
#ab5f45
#45ab5f

Split-complementary

#5f45ab
#ab9245
#5eab45

Tetradic

#5f45ab
#ab4591
#91ab45
#45ab5f

Square

#5f45ab
#ab455e
#91ab45
#45ab92

Shades

Color #5f45ab mixed toward black.

#4f3a8f
#3f2e72
#302356
#201739
#100c1d

Tints

Color #5f45ab mixed toward white.

#775fbe
#927fcb
#ae9fd8
#c9bfe5
#e4dff2

Tones

Color #5f45ab mixed toward gray.

#634ea3
#67569a
#6c5f92
#706789
#747081

Accessibility

Aa White text on this color
7.18:1
Aa Black text on this color
2.93:1

White text reads better on this background (7.18:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#55559a · ΔE 7

Deuteranopia

#565896 · ΔE 8.4

Tritanopia

#5e8b87 · ΔE 33.7

Achromatopsia

#575757 · ΔE 26.2

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Navy #000080

Frequently asked questions

#5f45ab (#5f45ab) is rgb(95, 69, 171) in RGB.

No, #5f45ab 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 #5f45ab, 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.