#585CE2#585CE2
#585CE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.199 H 276.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #585CE2 |
|---|---|
| RGB | rgb(88, 92, 226) |
| HSL | hsl(238, 70%, 62%) |
| HSV | hsv(238, 61%, 89%) |
| CMYK | cmyk(61.1%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(45.93, 38.06, -68.85) |
| CIE-LCH | lch(45.93, 78.67, 298.93°) |
| OKLab | oklab(54.92% 0.022 -0.198) |
| OKLCH | oklch(54.92% 0.199 276.3) |
| XYZ | xyz(21.5747, 15.2183, 73.7373) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.51
Dark Periwinkle
#665FD1
ΔE00 3.11
Slate Blue
#6A5ACD
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.40
Iris
#6258C4
ΔE00 4.69
Azul
#1D5DEC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585CE2 #E2DE58
analogous
#58A1E2 #585CE2 #9958E2
triadic
#585CE2 #E2585C #5CE258
tetradic
#585CE2 #E258A1 #E2DE58 #58E299
square
#585CE2 #E258A1 #E2DE58 #58E299
split-complementary
#585CE2 #E29958 #A1E258
monochromatic
#1C20A3 #252BD7 #585CE2 #8C8FEB #C0C2F4
Accessibility & contrast
On white
5.19
#585CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#585CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585CE2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585CE2 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #585ce2; /* rgb */ color: rgb(88, 92, 226); /* oklch */ color: oklch(54.9% 0.199 276.3);
Tailwind
colors: {
custom: {
50: '#948aec',
500: '#585ce2',
950: '#000000',
},
}SCSS
$custom: #585ce2; $custom-light: #948aec; $custom-dark: #000000;
JSON
{
"hex": "#585ce2",
"rgb": {
"r": 88,
"g": 92,
"b": 226
},
"hsl": {
"h": 238.261,
"s": 70.408,
"l": 61.569
},
"oklch": {
"l": 0.54924,
"c": 0.19926,
"h": 276.3
},
"luminance": 0.1522
}Semantic roles & 50–950 ramp
primary
#585CE2
secondary
#E5E3B1
accent
#CD13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84