#585FB5#585FB5
#585FB5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.134 H 277.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #585FB5 |
|---|---|
| RGB | rgb(88, 95, 181) |
| HSL | hsl(235, 39%, 53%) |
| HSV | hsv(235, 51%, 71%) |
| CMYK | cmyk(51.4%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(43.65, 21.58, -46.65) |
| CIE-LCH | lch(43.65, 51.40, 294.82°) |
| OKLab | oklab(52.25% 0.0168 -0.1327) |
| OKLCH | oklch(52.25% 0.134 277.2) |
| XYZ | xyz(16.4546, 13.5943, 45.4640) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.57
Warm Blue
#4B57DB
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.14
Dusky Blue
#475F94
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585FB5 #B5AE58
analogous
#588DB5 #585FB5 #7F58B5
triadic
#585FB5 #B5585F #5FB558
tetradic
#585FB5 #B5588D #B5AE58 #58B57F
square
#585FB5 #B5588D #B5AE58 #58B57F
split-complementary
#585FB5 #B57F58 #8DB558
monochromatic
#2D3166 #404690 #585FB5 #8288C8 #ADB0DB
Accessibility & contrast
On white
5.65
#585FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#585FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585FB5
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585FB5 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#317281
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #585fb5; /* rgb */ color: rgb(88, 95, 181); /* oklch */ color: oklch(52.2% 0.134 277.2);
Tailwind
colors: {
custom: {
50: '#8d8ccc',
500: '#585fb5',
950: '#000000',
},
}SCSS
$custom: #585fb5; $custom-light: #8d8ccc; $custom-dark: #000000;
JSON
{
"hex": "#585fb5",
"rgb": {
"r": 88,
"g": 95,
"b": 181
},
"hsl": {
"h": 235.484,
"s": 38.589,
"l": 52.745
},
"oklch": {
"l": 0.52249,
"c": 0.13379,
"h": 277.2
},
"luminance": 0.13595
}Semantic roles & 50–950 ramp
primary
#585FB5
secondary
#C9C6A0
accent
#C659CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82