Skip to content
Kolorvia
#5128f0

Color #5128f0

A vivid, highly saturated medium blue.

Conversions

HEX
#5128f0
RGB
rgb(81, 40, 240)
HSL
hsl(252.3, 87%, 54.9%)
HSV / HSB
hsv(252.3, 83.3%, 94.1%)
CMYK
cmyk(66.3%, 83.3%, 0%, 5.9%)
LAB
lab(37.03, 68.18, -91.42)
LCH
lch(37.03, 114.04, 306.72)
OKLCH
oklch(48.8%, 0.2674, 279.23)
HWB
hwb(252.3, 15.7%, 5.9%)

Harmony colors

Complementary

#c7f028

Analogous

#2863f0
#5128f0
#b528f0

Triadic

#5128f0
#f05128
#28f051

Split-complementary

#5128f0
#f0b528
#63f028

Tetradic

#5128f0
#f028c7
#c7f028
#28f051

Square

#5128f0
#f02863
#c7f028
#28f0b5

Shades

Color #5128f0 mixed toward black.

#390fda
#2d0caf
#220983
#170657
#0b032c

Tints

Color #5128f0 mixed toward white.

#6e4cf3
#8b70f5
#a893f8
#c5b7fa
#e2dbfd

Tones

Color #5128f0 mixed toward gray.

#5b39df
#6549cf
#6e5abe
#786bad
#827b9d

Accessibility

Aa White text on this color
7.21:1
Aa Black text on this color
2.91:1

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

Under color vision deficiencies

Protanopia

#4342d5 · ΔE 5.8

Deuteranopia

#4548ce · ΔE 7.4

Tritanopia

#50bcb6 · ΔE 50.2

Achromatopsia

#575757 · ΔE 32

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

Code

CSS
background-color: #5128f0;
Tailwind (arbitrary value)
bg-[#5128f0]

Related colors

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

Frequently asked questions

#5128f0 (#5128f0) is rgb(81, 40, 240) in RGB.

No, #5128f0 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 #5128f0, 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.