#5D5DE2#5D5DE2
#5D5DE2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.197 H 277.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DE2 |
|---|---|
| RGB | rgb(93, 93, 226) |
| HSL | hsl(240, 70%, 63%) |
| HSV | hsv(240, 59%, 89%) |
| CMYK | cmyk(58.8%, 58.8%, 0%, 11.4%) |
| CIE-LAB | lab(46.51, 38.28, -67.91) |
| CIE-LCH | lch(46.51, 77.95, 299.41°) |
| OKLab | oklab(55.44% 0.0268 -0.1951) |
| OKLCH | oklch(55.44% 0.197 277.8) |
| XYZ | xyz(22.1516, 15.6452, 73.7893) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.69
Warm Blue
#4B57DB
ΔE00 3.20
Slate Blue
#6A5ACD
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 3.97
Iris
#6258C4
ΔE00 4.64
Azul
#1D5DEC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DE2 #E2E25D
analogous
#5D9FE2 #5D5DE2 #9F5DE2
triadic
#5D5DE2 #E25D5D #5DE25D
tetradic
#5D5DE2 #E25D9F #E2E25D #5DE29F
square
#5D5DE2 #E25D9F #E2E25D #5DE29F
split-complementary
#5D5DE2 #E29F5D #9FE25D
monochromatic
#1E1EA7 #2929D9 #5D5DE2 #9191EB #C5C5F5
Accessibility & contrast
On white
5.09
#5D5DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5D5DE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DE2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DE2 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5d5de2; /* rgb */ color: rgb(93, 93, 226); /* oklch */ color: oklch(55.4% 0.197 277.8);
Tailwind
colors: {
custom: {
50: '#978bec',
500: '#5d5de2',
950: '#000000',
},
}SCSS
$custom: #5d5de2; $custom-light: #978bec; $custom-dark: #000000;
JSON
{
"hex": "#5d5de2",
"rgb": {
"r": 93,
"g": 93,
"b": 226
},
"hsl": {
"h": 240,
"s": 69.634,
"l": 62.549
},
"oklch": {
"l": 0.55435,
"c": 0.19696,
"h": 277.8
},
"luminance": 0.15647
}Semantic roles & 50–950 ramp
primary
#5D5DE2
secondary
#E6E6B5
accent
#D214D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84