#5F52CE#5F52CE
#5F52CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.184 H 282.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5F52CE |
|---|---|
| RGB | rgb(95, 82, 206) |
| HSL | hsl(246, 56%, 56%) |
| HSV | hsv(246, 60%, 81%) |
| CMYK | cmyk(53.9%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.65, 38.92, -62.74) |
| CIE-LCH | lch(42.65, 73.83, 301.81°) |
| OKLab | oklab(52.17% 0.0405 -0.1799) |
| OKLCH | oklch(52.17% 0.184 282.7) |
| XYZ | xyz(18.8738, 12.9226, 59.8803) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.33
Slate Blue
#6A5ACD
ΔE00 2.88
Light Indigo
#6D5ACF
ΔE00 3.22
Warm Blue
#4B57DB
ΔE00 3.83
Dark Periwinkle
#665FD1
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F52CE #C1CE52
analogous
#5283CE #5F52CE #9D52CE
triadic
#5F52CE #CE5F52 #52CE5F
tetradic
#5F52CE #CE5283 #C1CE52 #52CE9D
square
#5F52CE #CE5283 #C1CE52 #52CE9D
split-complementary
#5F52CE #CE9D52 #83CE52
monochromatic
#2E2581 #3F32B1 #5F52CE #8B82DC #B7B1E9
Accessibility & contrast
On white
5.86
#5F52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5F52CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F52CE
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F52CE | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#2E7088
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f52ce; /* rgb */ color: rgb(95, 82, 206); /* oklch */ color: oklch(52.2% 0.184 282.7);
Tailwind
colors: {
custom: {
50: '#9683de',
500: '#5f52ce',
950: '#000000',
},
}SCSS
$custom: #5f52ce; $custom-light: #9683de; $custom-dark: #000000;
JSON
{
"hex": "#5f52ce",
"rgb": {
"r": 95,
"g": 82,
"b": 206
},
"hsl": {
"h": 246.29,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.5217,
"c": 0.18444,
"h": 282.7
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#5F52CE
secondary
#D2D7A4
accent
#DF49CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83