#585AAA#585AAA
#585AAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.125 H 279.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #585AAA |
|---|---|
| RGB | rgb(88, 90, 170) |
| HSL | hsl(239, 33%, 51%) |
| HSV | hsv(239, 48%, 67%) |
| CMYK | cmyk(48.2%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.67, 21.22, -43.34) |
| CIE-LCH | lch(41.67, 48.25, 296.09°) |
| OKLab | oklab(50.54% 0.0214 -0.123) |
| OKLCH | oklch(50.54% 0.125 279.9) |
| XYZ | xyz(14.9342, 12.2885, 39.6074) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.69
Twilight
#4E518B
ΔE00 5.79
Dusky Blue
#475F94
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.39
Dark Periwinkle
#665FD1
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585AAA #AAA858
analogous
#5883AA #585AAA #7F58AA
triadic
#585AAA #AA585A #5AAA58
tetradic
#585AAA #AA5883 #AAA858 #58AA7F
square
#585AAA #AA5883 #AAA858 #58AA7F
split-complementary
#585AAA #AA7F58 #83AA58
monochromatic
#2E2F5A #424482 #585AAA #8182BF #A9AAD3
Accessibility & contrast
On white
6.07
#585AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#585AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585AAA
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585AAA | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#3A6B7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #585aaa; /* rgb */ color: rgb(88, 90, 170); /* oklch */ color: oklch(50.5% 0.125 279.9);
Tailwind
colors: {
custom: {
50: '#8c88c4',
500: '#585aaa',
950: '#000000',
},
}SCSS
$custom: #585aaa; $custom-light: #8c88c4; $custom-dark: #000000;
JSON
{
"hex": "#585aaa",
"rgb": {
"r": 88,
"g": 90,
"b": 170
},
"hsl": {
"h": 238.537,
"s": 32.54,
"l": 50.588
},
"oklch": {
"l": 0.50542,
"c": 0.12488,
"h": 279.9
},
"luminance": 0.12289
}Semantic roles & 50–950 ramp
primary
#585AAA
secondary
#C1C09D
accent
#C65FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81