#585ED4#585ED4
#585ED4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.178 H 276.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #585ED4 |
|---|---|
| RGB | rgb(88, 94, 212) |
| HSL | hsl(237, 59%, 59%) |
| HSV | hsv(237, 58%, 83%) |
| CMYK | cmyk(58.5%, 55.7%, 0%, 16.9%) |
| CIE-LAB | lab(45.40, 32.26, -61.74) |
| CIE-LCH | lch(45.40, 69.66, 297.59°) |
| OKLab | oklab(54.21% 0.0201 -0.1771) |
| OKLCH | oklch(54.21% 0.178 276.5) |
| XYZ | xyz(19.9070, 14.8321, 64.0884) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.41
Warm Blue
#4B57DB
ΔE00 2.63
Iris
#6258C4
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 4.18
Royal Blue
#4169E1
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585ED4 #D4CE58
analogous
#589CD4 #585ED4 #9058D4
triadic
#585ED4 #D4585E #5ED458
tetradic
#585ED4 #D4589C #D4CE58 #58D490
square
#585ED4 #D4589C #D4CE58 #58D490
split-complementary
#585ED4 #D49058 #9CD458
monochromatic
#24298D #3138BE #585ED4 #898DE1 #B9BCED
Accessibility & contrast
On white
5.29
#585ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#585ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585ED4
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585ED4 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #585ed4; /* rgb */ color: rgb(88, 94, 212); /* oklch */ color: oklch(54.2% 0.178 276.5);
Tailwind
colors: {
custom: {
50: '#928be2',
500: '#585ed4',
950: '#000000',
},
}SCSS
$custom: #585ed4; $custom-light: #928be2; $custom-dark: #000000;
JSON
{
"hex": "#585ed4",
"rgb": {
"r": 88,
"g": 94,
"b": 212
},
"hsl": {
"h": 237.097,
"s": 59.048,
"l": 58.824
},
"oklch": {
"l": 0.54214,
"c": 0.17826,
"h": 276.5
},
"luminance": 0.14834
}Semantic roles & 50–950 ramp
primary
#585ED4
secondary
#DCDAAB
accent
#DB46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83