#585AB5#585AB5
#585AB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.141 H 279.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #585AB5 |
|---|---|
| RGB | rgb(88, 90, 181) |
| HSL | hsl(239, 39%, 53%) |
| HSV | hsv(239, 51%, 71%) |
| CMYK | cmyk(51.4%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(42.34, 24.71, -48.74) |
| CIE-LCH | lch(42.34, 54.64, 296.89°) |
| OKLab | oklab(51.27% 0.0226 -0.1389) |
| OKLCH | oklch(51.27% 0.141 279.3) |
| XYZ | xyz(16.0186, 12.7223, 45.3187) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.54
Warm Blue
#4B57DB
ΔE00 5.64
Dusky Blue
#475F94
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585AB5 #B5B358
analogous
#5888B5 #585AB5 #8558B5
triadic
#585AB5 #B5585A #5AB558
tetradic
#585AB5 #B55888 #B5B358 #58B585
square
#585AB5 #B55888 #B5B358 #58B585
split-complementary
#585AB5 #B58558 #88B558
monochromatic
#2D2E66 #404290 #585AB5 #8284C8 #ADAEDB
Accessibility & contrast
On white
5.92
#585AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#585AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585AB5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585AB5 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#2560B3
Tritanopia (blue-blind)
#326E7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #585ab5; /* rgb */ color: rgb(88, 90, 181); /* oklch */ color: oklch(51.3% 0.141 279.3);
Tailwind
colors: {
custom: {
50: '#8e88cc',
500: '#585ab5',
950: '#000000',
},
}SCSS
$custom: #585ab5; $custom-light: #8e88cc; $custom-dark: #000000;
JSON
{
"hex": "#585ab5",
"rgb": {
"r": 88,
"g": 90,
"b": 181
},
"hsl": {
"h": 238.71,
"s": 38.589,
"l": 52.745
},
"oklch": {
"l": 0.51265,
"c": 0.14073,
"h": 279.3
},
"luminance": 0.12723
}Semantic roles & 50–950 ramp
primary
#585AB5
secondary
#C9C8A0
accent
#CC59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82