#585CB8#585CB8
#585CB8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.142 H 278.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #585CB8 |
|---|---|
| RGB | rgb(88, 92, 184) |
| HSL | hsl(238, 40%, 53%) |
| HSV | hsv(238, 52%, 72%) |
| CMYK | cmyk(52.2%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(43.05, 24.42, -49.36) |
| CIE-LCH | lch(43.05, 55.07, 296.32°) |
| OKLab | oklab(51.86% 0.0206 -0.1407) |
| OKLCH | oklch(51.86% 0.142 278.3) |
| XYZ | xyz(16.5007, 13.1887, 47.0143) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.40
Dusky Blue
#475F94
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585CB8 #B8B458
analogous
#588CB8 #585CB8 #8458B8
triadic
#585CB8 #B8585C #5CB858
tetradic
#585CB8 #B8588C #B8B458 #58B884
square
#585CB8 #B8588C #B8B458 #58B884
split-complementary
#585CB8 #B88458 #8CB858
monochromatic
#2D2F69 #3F4294 #585CB8 #8386CA #AEB0DD
Accessibility & contrast
On white
5.77
#585CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#585CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585CB8
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585CB8 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#2562B6
Tritanopia (blue-blind)
#2F7081
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #585cb8; /* rgb */ color: rgb(88, 92, 184); /* oklch */ color: oklch(51.9% 0.142 278.3);
Tailwind
colors: {
custom: {
50: '#8e8ace',
500: '#585cb8',
950: '#000000',
},
}SCSS
$custom: #585cb8; $custom-light: #8e8ace; $custom-dark: #000000;
JSON
{
"hex": "#585cb8",
"rgb": {
"r": 88,
"g": 92,
"b": 184
},
"hsl": {
"h": 237.5,
"s": 40.336,
"l": 53.333
},
"oklch": {
"l": 0.51856,
"c": 0.14222,
"h": 278.3
},
"luminance": 0.1319
}Semantic roles & 50–950 ramp
primary
#585CB8
secondary
#CBC9A1
accent
#CB58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82