#585FE4#585FE4
#585FE4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.198 H 275.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #585FE4 |
|---|---|
| RGB | rgb(88, 95, 228) |
| HSL | hsl(237, 72%, 62%) |
| HSV | hsv(237, 61%, 89%) |
| CMYK | cmyk(61.4%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(46.79, 36.89, -68.59) |
| CIE-LCH | lch(46.79, 77.88, 298.27°) |
| OKLab | oklab(55.6% 0.0193 -0.1973) |
| OKLCH | oklch(55.6% 0.198 275.6) |
| XYZ | xyz(22.1157, 15.8588, 75.2794) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.23
Dark Periwinkle
#665FD1
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.16
Azul
#1D5DEC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585FE4 #E4DD58
analogous
#58A5E4 #585FE4 #9758E4
triadic
#585FE4 #E4585F #5FE458
tetradic
#585FE4 #E458A5 #E4DD58 #58E497
square
#585FE4 #E458A5 #E4DD58 #58E497
split-complementary
#585FE4 #E49758 #A5E458
monochromatic
#1B22A7 #232DDB #585FE4 #8D91ED #C1C4F5
Accessibility & contrast
On white
5.03
#585FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#585FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585FE4
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585FE4 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #585fe4; /* rgb */ color: rgb(88, 95, 228); /* oklch */ color: oklch(55.6% 0.198 275.6);
Tailwind
colors: {
custom: {
50: '#958ced',
500: '#585fe4',
950: '#000000',
},
}SCSS
$custom: #585fe4; $custom-light: #958ced; $custom-dark: #000000;
JSON
{
"hex": "#585fe4",
"rgb": {
"r": 88,
"g": 95,
"b": 228
},
"hsl": {
"h": 237,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.55604,
"c": 0.1982,
"h": 275.6
},
"luminance": 0.15861
}Semantic roles & 50–950 ramp
primary
#585FE4
secondary
#E6E3B2
accent
#CA11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84