#5D5AE2#5D5AE2
#5D5AE2 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.201 H 278.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5AE2 |
|---|---|
| RGB | rgb(93, 90, 226) |
| HSL | hsl(241, 70%, 62%) |
| HSV | hsv(241, 60%, 89%) |
| CMYK | cmyk(58.8%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.81, 40.08, -69.04) |
| CIE-LCH | lch(45.81, 79.83, 300.14°) |
| OKLab | oklab(54.92% 0.0296 -0.1985) |
| OKLCH | oklch(54.92% 0.201 278.5) |
| XYZ | xyz(21.8935, 15.1289, 73.7032) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.71
Iris
#6258C4
ΔE00 4.34
Electric Blue
#0652FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5AE2 #DFE25A
analogous
#5A9BE2 #5D5AE2 #A15AE2
triadic
#5D5AE2 #E25D5A #5AE25D
tetradic
#5D5AE2 #E25A9B #DFE25A #5AE2A1
square
#5D5AE2 #E25A9B #DFE25A #5AE2A1
split-complementary
#5D5AE2 #E2A15A #9BE25A
monochromatic
#201DA5 #2A26D9 #5D5AE2 #908EEB #C3C2F4
Accessibility & contrast
On white
5.22
#5D5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5D5AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5AE2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5AE2 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5d5ae2; /* rgb */ color: rgb(93, 90, 226); /* oklch */ color: oklch(54.9% 0.201 278.5);
Tailwind
colors: {
custom: {
50: '#9789ec',
500: '#5d5ae2',
950: '#000000',
},
}SCSS
$custom: #5d5ae2; $custom-light: #9789ec; $custom-dark: #000000;
JSON
{
"hex": "#5d5ae2",
"rgb": {
"r": 93,
"g": 90,
"b": 226
},
"hsl": {
"h": 241.324,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.54923,
"c": 0.20066,
"h": 278.5
},
"luminance": 0.1513
}Semantic roles & 50–950 ramp
primary
#5D5AE2
secondary
#E4E5B3
accent
#D213CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84