#5E52E2#5E52E2
#5E52E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.210 H 280.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5E52E2 |
|---|---|
| RGB | rgb(94, 82, 226) |
| HSL | hsl(245, 71%, 60%) |
| HSV | hsv(245, 64%, 89%) |
| CMYK | cmyk(58.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(44.09, 44.94, -71.83) |
| CIE-LCH | lch(44.09, 84.73, 302.03°) |
| OKLab | oklab(53.69% 0.0378 -0.2067) |
| OKLCH | oklch(53.69% 0.21 280.4) |
| XYZ | xyz(21.3565, 13.9038, 73.4951) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.43
Slate Blue
#6A5ACD
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 3.98
Purpleish Blue
#6140EF
ΔE00 4.37
Dark Periwinkle
#665FD1
ΔE00 4.38
Iris
#6258C4
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E52E2 #D6E252
analogous
#528EE2 #5E52E2 #A652E2
triadic
#5E52E2 #E25E52 #52E25E
tetradic
#5E52E2 #E2528E #D6E252 #52E2A6
square
#5E52E2 #E2528E #D6E252 #52E2A6
split-complementary
#5E52E2 #E2A652 #8EE252
monochromatic
#261B9F #3223D3 #5E52E2 #8F86EB #C0BBF4
Accessibility & contrast
On white
5.55
#5E52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5E52E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E52E2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E52E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E52E2 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5e52e2; /* rgb */ color: rgb(94, 82, 226); /* oklch */ color: oklch(53.7% 0.210 280.4);
Tailwind
colors: {
custom: {
50: '#9883ec',
500: '#5e52e2',
950: '#000000',
},
}SCSS
$custom: #5e52e2; $custom-light: #9883ec; $custom-dark: #000000;
JSON
{
"hex": "#5e52e2",
"rgb": {
"r": 94,
"g": 82,
"b": 226
},
"hsl": {
"h": 245,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.53686,
"c": 0.21011,
"h": 280.4
},
"luminance": 0.13905
}Semantic roles & 50–950 ramp
primary
#5E52E2
secondary
#DFE3AC
accent
#D312C3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84