#5952CA#5952CA
#5952CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.180 H 280.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5952CA |
|---|---|
| RGB | rgb(89, 82, 202) |
| HSL | hsl(244, 53%, 56%) |
| HSV | hsv(244, 59%, 79%) |
| CMYK | cmyk(55.9%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.88, 36.56, -61.70) |
| CIE-LCH | lch(41.88, 71.72, 300.65°) |
| OKLab | oklab(51.39% 0.0331 -0.1771) |
| OKLCH | oklch(51.39% 0.18 280.6) |
| XYZ | xyz(17.7945, 12.4216, 57.3256) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.39
Warm Blue
#4B57DB
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952CA #C3CA52
analogous
#5287CA #5952CA #9552CA
triadic
#5952CA #CA5952 #52CA59
tetradic
#5952CA #CA5287 #C3CA52 #52CA95
square
#5952CA #CA5287 #C3CA52 #52CA95
split-complementary
#5952CA #CA9552 #87CA52
monochromatic
#2B267C #3B34AB #5952CA #8681D8 #B3B0E7
Accessibility & contrast
On white
6.03
#5952CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5952CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952CA
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952CA | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#1F6F86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5952ca; /* rgb */ color: rgb(89, 82, 202); /* oklch */ color: oklch(51.4% 0.180 280.6);
Tailwind
colors: {
custom: {
50: '#9283db',
500: '#5952ca',
950: '#000000',
},
}SCSS
$custom: #5952ca; $custom-light: #9283db; $custom-dark: #000000;
JSON
{
"hex": "#5952ca",
"rgb": {
"r": 89,
"g": 82,
"b": 202
},
"hsl": {
"h": 243.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51394,
"c": 0.18014,
"h": 280.6
},
"luminance": 0.12423
}Semantic roles & 50–950 ramp
primary
#5952CA
secondary
#D2D5A3
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83