#5D5BE2#5D5BE2
#5D5BE2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.1% C 0.199 H 278.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5BE2 |
|---|---|
| RGB | rgb(93, 91, 226) |
| HSL | hsl(241, 70%, 62%) |
| HSV | hsv(241, 60%, 89%) |
| CMYK | cmyk(58.8%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.04, 39.48, -68.66) |
| CIE-LCH | lch(46.04, 79.20, 299.90°) |
| OKLab | oklab(55.09% 0.0287 -0.1974) |
| OKLCH | oklch(55.09% 0.199 278.3) |
| XYZ | xyz(21.9784, 15.2987, 73.7315) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.81
Warm Blue
#4B57DB
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 3.77
Iris
#6258C4
ΔE00 4.42
Electric Blue
#0652FF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5BE2 #E0E25B
analogous
#5B9DE2 #5D5BE2 #A15BE2
triadic
#5D5BE2 #E25D5B #5BE25D
tetradic
#5D5BE2 #E25B9D #E0E25B #5BE2A1
square
#5D5BE2 #E25B9D #E0E25B #5BE2A1
split-complementary
#5D5BE2 #E2A15B #9DE25B
monochromatic
#1F1DA5 #2A27D9 #5D5BE2 #908FEB #C4C3F4
Accessibility & contrast
On white
5.17
#5D5BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5D5BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5BE2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5BE2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5d5be2; /* rgb */ color: rgb(93, 91, 226); /* oklch */ color: oklch(55.1% 0.199 278.3);
Tailwind
colors: {
custom: {
50: '#9789ec',
500: '#5d5be2',
950: '#000000',
},
}SCSS
$custom: #5d5be2; $custom-light: #9789ec; $custom-dark: #000000;
JSON
{
"hex": "#5d5be2",
"rgb": {
"r": 93,
"g": 91,
"b": 226
},
"hsl": {
"h": 240.889,
"s": 69.948,
"l": 62.157
},
"oklch": {
"l": 0.55092,
"c": 0.19943,
"h": 278.3
},
"luminance": 0.153
}Semantic roles & 50–950 ramp
primary
#5D5BE2
secondary
#E4E5B4
accent
#D214CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84