#5D5DE5#5D5DE5
#5D5DE5 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.201 H 277.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DE5 |
|---|---|
| RGB | rgb(93, 93, 229) |
| HSL | hsl(240, 72%, 63%) |
| HSV | hsv(240, 59%, 90%) |
| CMYK | cmyk(59.4%, 59.4%, 0%, 10.2%) |
| CIE-LAB | lab(46.73, 39.24, -69.24) |
| CIE-LCH | lch(46.73, 79.59, 299.54°) |
| OKLab | oklab(55.67% 0.0268 -0.1991) |
| OKLCH | oklch(55.67% 0.201 277.7) |
| XYZ | xyz(22.5669, 15.8113, 75.9762) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 3.40
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.21
Iris
#6258C4
ΔE00 5.00
Mediumslateblue
#7B68EE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DE5 #E5E55D
analogous
#5DA1E5 #5D5DE5 #A15DE5
triadic
#5D5DE5 #E55D5D #5DE55D
tetradic
#5D5DE5 #E55DA1 #E5E55D #5DE5A1
square
#5D5DE5 #E55DA1 #E5E55D #5DE5A1
split-complementary
#5D5DE5 #E5A15D #A1E55D
monochromatic
#1C1CAC #2828DD #5D5DE5 #9292ED #C6C6F6
Accessibility & contrast
On white
5.04
#5D5DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5D5DE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DE5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DE5 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5d5de5; /* rgb */ color: rgb(93, 93, 229); /* oklch */ color: oklch(55.7% 0.201 277.7);
Tailwind
colors: {
custom: {
50: '#978bee',
500: '#5d5de5',
950: '#000000',
},
}SCSS
$custom: #5d5de5; $custom-light: #978bee; $custom-dark: #000000;
JSON
{
"hex": "#5d5de5",
"rgb": {
"r": 93,
"g": 93,
"b": 229
},
"hsl": {
"h": 240,
"s": 72.34,
"l": 63.137
},
"oklch": {
"l": 0.55667,
"c": 0.20085,
"h": 277.7
},
"luminance": 0.15813
}Semantic roles & 50–950 ramp
primary
#5D5DE5
secondary
#E7E7B7
accent
#D411D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84