#585FD7#585FD7
#585FD7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.181 H 276.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #585FD7 |
|---|---|
| RGB | rgb(88, 95, 215) |
| HSL | hsl(237, 61%, 59%) |
| HSV | hsv(237, 59%, 84%) |
| CMYK | cmyk(59.1%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(45.86, 32.63, -62.72) |
| CIE-LCH | lch(45.86, 70.70, 297.49°) |
| OKLab | oklab(54.62% 0.0192 -0.18) |
| OKLCH | oklch(54.62% 0.181 276.1) |
| XYZ | xyz(20.3785, 15.1639, 66.1299) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.51
Warm Blue
#4B57DB
ΔE00 2.80
Slate Blue
#6A5ACD
ΔE00 4.01
Iris
#6258C4
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.38
Royal Blue
#4169E1
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585FD7 #D7D058
analogous
#589FD7 #585FD7 #9158D7
triadic
#585FD7 #D7585F #5FD758
tetradic
#585FD7 #D7589F #D7D058 #58D791
square
#585FD7 #D7589F #D7D058 #58D791
split-complementary
#585FD7 #D79158 #9FD758
monochromatic
#232992 #2F37C3 #585FD7 #898EE3 #BBBEEF
Accessibility & contrast
On white
5.21
#585FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#585FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585FD7
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585FD7 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #585fd7; /* rgb */ color: rgb(88, 95, 215); /* oklch */ color: oklch(54.6% 0.181 276.1);
Tailwind
colors: {
custom: {
50: '#928ce4',
500: '#585fd7',
950: '#000000',
},
}SCSS
$custom: #585fd7; $custom-light: #928ce4; $custom-dark: #000000;
JSON
{
"hex": "#585fd7",
"rgb": {
"r": 88,
"g": 95,
"b": 215
},
"hsl": {
"h": 236.693,
"s": 61.353,
"l": 59.412
},
"oklch": {
"l": 0.54619,
"c": 0.18101,
"h": 276.1
},
"luminance": 0.15165
}Semantic roles & 50–950 ramp
primary
#585FD7
secondary
#DEDBAD
accent
#DC43E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84