#5952CE#5952CE
#5952CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.185 H 280.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5952CE |
|---|---|
| RGB | rgb(89, 82, 206) |
| HSL | hsl(243, 56%, 56%) |
| HSV | hsv(243, 60%, 81%) |
| CMYK | cmyk(56.8%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.17, 37.83, -63.53) |
| CIE-LCH | lch(42.17, 73.94, 300.77°) |
| OKLab | oklab(51.71% 0.033 -0.1824) |
| OKLCH | oklch(51.71% 0.185 280.2) |
| XYZ | xyz(18.2742, 12.6134, 59.8522) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.29
Bluey Purple
#6241C7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952CE #C7CE52
analogous
#5289CE #5952CE #9752CE
triadic
#5952CE #CE5952 #52CE59
tetradic
#5952CE #CE5289 #C7CE52 #52CE97
square
#5952CE #CE5289 #C7CE52 #52CE97
split-complementary
#5952CE #CE9752 #89CE52
monochromatic
#2A2581 #3932B1 #5952CE #8782DC #B5B1E9
Accessibility & contrast
On white
5.96
#5952CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5952CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952CE
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952CE | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#177088
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5952ce; /* rgb */ color: rgb(89, 82, 206); /* oklch */ color: oklch(51.7% 0.185 280.2);
Tailwind
colors: {
custom: {
50: '#9283de',
500: '#5952ce',
950: '#000000',
},
}SCSS
$custom: #5952ce; $custom-light: #9283de; $custom-dark: #000000;
JSON
{
"hex": "#5952ce",
"rgb": {
"r": 89,
"g": 82,
"b": 206
},
"hsl": {
"h": 243.387,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.51706,
"c": 0.18539,
"h": 280.2
},
"luminance": 0.12615
}Semantic roles & 50–950 ramp
primary
#5952CE
secondary
#D4D7A4
accent
#DF49D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83