#585ED8#585ED8
#585ED8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.184 H 276.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #585ED8 |
|---|---|
| RGB | rgb(88, 94, 216) |
| HSL | hsl(237, 62%, 60%) |
| HSV | hsv(237, 59%, 85%) |
| CMYK | cmyk(59.3%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(45.68, 33.57, -63.57) |
| CIE-LCH | lch(45.68, 71.89, 297.84°) |
| OKLab | oklab(54.51% 0.0202 -0.1825) |
| OKLCH | oklch(54.51% 0.184 276.3) |
| XYZ | xyz(20.4179, 15.0364, 66.7788) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.49
Warm Blue
#4B57DB
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 3.87
Iris
#6258C4
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.23
Royal Blue
#4169E1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585ED8 #D8D258
analogous
#589ED8 #585ED8 #9258D8
triadic
#585ED8 #D8585E #5ED858
tetradic
#585ED8 #D8589E #D8D258 #58D892
square
#585ED8 #D8589E #D8D258 #58D892
split-complementary
#585ED8 #D89258 #9ED858
monochromatic
#222893 #2E35C5 #585ED8 #8A8EE4 #BBBEEF
Accessibility & contrast
On white
5.24
#585ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#585ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585ED8
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585ED8 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #585ed8; /* rgb */ color: rgb(88, 94, 216); /* oklch */ color: oklch(54.5% 0.184 276.3);
Tailwind
colors: {
custom: {
50: '#938be5',
500: '#585ed8',
950: '#000000',
},
}SCSS
$custom: #585ed8; $custom-light: #938be5; $custom-dark: #000000;
JSON
{
"hex": "#585ed8",
"rgb": {
"r": 88,
"g": 94,
"b": 216
},
"hsl": {
"h": 237.188,
"s": 62.136,
"l": 59.608
},
"oklch": {
"l": 0.54512,
"c": 0.18361,
"h": 276.3
},
"luminance": 0.15038
}Semantic roles & 50–950 ramp
primary
#585ED8
secondary
#DFDCAD
accent
#DE43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84