#5952E4#5952E4
#5952E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.214 H 278.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5952E4 |
|---|---|
| RGB | rgb(89, 82, 228) |
| HSL | hsl(243, 73%, 61%) |
| HSV | hsv(243, 64%, 89%) |
| CMYK | cmyk(61%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(43.88, 44.80, -73.32) |
| CIE-LCH | lch(43.88, 85.93, 301.43°) |
| OKLab | oklab(53.49% 0.0315 -0.2112) |
| OKLCH | oklch(53.49% 0.214 278.5) |
| XYZ | xyz(21.1362, 13.7583, 74.9255) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 4.38
Purpleish Blue
#6140EF
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 4.64
Iris
#6258C4
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5952E4 #DDE452
analogous
#5294E4 #5952E4 #A252E4
triadic
#5952E4 #E45952 #52E459
tetradic
#5952E4 #E45294 #DDE452 #52E4A2
square
#5952E4 #E45294 #DDE452 #52E4A2
split-complementary
#5952E4 #E4A252 #94E452
monochromatic
#2019A2 #2A22D7 #5952E4 #8C87EC #BFBCF5
Accessibility & contrast
On white
5.60
#5952E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#5952E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5952E4
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5952E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5952E4 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5952e4; /* rgb */ color: rgb(89, 82, 228); /* oklch */ color: oklch(53.5% 0.214 278.5);
Tailwind
colors: {
custom: {
50: '#9683ee',
500: '#5952e4',
950: '#000000',
},
}SCSS
$custom: #5952e4; $custom-light: #9683ee; $custom-dark: #000000;
JSON
{
"hex": "#5952e4",
"rgb": {
"r": 89,
"g": 82,
"b": 228
},
"hsl": {
"h": 242.877,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.53489,
"c": 0.21353,
"h": 278.5
},
"luminance": 0.1376
}Semantic roles & 50–950 ramp
primary
#5952E4
secondary
#E2E5AD
accent
#D510CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84