#585AB9#585AB9
#585AB9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.146 H 279.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #585AB9 |
|---|---|
| RGB | rgb(88, 90, 185) |
| HSL | hsl(239, 41%, 54%) |
| HSV | hsv(239, 52%, 73%) |
| CMYK | cmyk(52.4%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(42.60, 25.99, -50.67) |
| CIE-LCH | lch(42.60, 56.95, 297.15°) |
| OKLab | oklab(51.54% 0.023 -0.1446) |
| OKLCH | oklch(51.54% 0.146 279) |
| XYZ | xyz(16.4349, 12.8888, 47.5113) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.74
Dark Periwinkle
#665FD1
ΔE00 4.48
Slate Blue
#6A5ACD
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.11
Dusky Blue
#475F94
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585AB9 #B9B758
analogous
#588AB9 #585AB9 #8658B9
triadic
#585AB9 #B9585A #5AB958
tetradic
#585AB9 #B9588A #B9B758 #58B986
square
#585AB9 #B9588A #B9B758 #58B986
split-complementary
#585AB9 #B98658 #8AB958
monochromatic
#2C2E6A #3F4095 #585AB9 #8385CB #AEAFDD
Accessibility & contrast
On white
5.87
#585AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#585AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585AB9
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585AB9 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#2F6F81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #585ab9; /* rgb */ color: rgb(88, 90, 185); /* oklch */ color: oklch(51.5% 0.146 279.0);
Tailwind
colors: {
custom: {
50: '#8e88cf',
500: '#585ab9',
950: '#000000',
},
}SCSS
$custom: #585ab9; $custom-light: #8e88cf; $custom-dark: #000000;
JSON
{
"hex": "#585ab9",
"rgb": {
"r": 88,
"g": 90,
"b": 185
},
"hsl": {
"h": 238.763,
"s": 40.928,
"l": 53.529
},
"oklch": {
"l": 0.51537,
"c": 0.14639,
"h": 279
},
"luminance": 0.1289
}Semantic roles & 50–950 ramp
primary
#585AB9
secondary
#CBCAA2
accent
#CE57D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82