#585FC7#585FC7
#585FC7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.159 H 276.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #585FC7 |
|---|---|
| RGB | rgb(88, 95, 199) |
| HSL | hsl(236, 50%, 56%) |
| HSV | hsv(236, 56%, 78%) |
| CMYK | cmyk(55.8%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(44.77, 27.40, -55.29) |
| CIE-LCH | lch(44.77, 61.71, 296.36°) |
| OKLab | oklab(53.46% 0.0185 -0.1581) |
| OKLCH | oklch(53.46% 0.159 276.7) |
| XYZ | xyz(18.4222, 14.3814, 55.8269) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.98
Iris
#6258C4
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.65
Royal Blue
#4169E1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#585FC7 #C7C058
analogous
#5897C7 #585FC7 #8958C7
triadic
#585FC7 #C7585F #5FC758
tetradic
#585FC7 #C75897 #C7C058 #58C789
square
#585FC7 #C75897 #C7C058 #58C789
split-complementary
#585FC7 #C78958 #97C758
monochromatic
#292F7B #3940A9 #585FC7 #868BD6 #B4B7E6
Accessibility & contrast
On white
5.42
#585FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#585FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #585FC7
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##585FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##585FC7 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#0D65C5
Tritanopia (blue-blind)
#1C778A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #585fc7; /* rgb */ color: rgb(88, 95, 199); /* oklch */ color: oklch(53.5% 0.159 276.7);
Tailwind
colors: {
custom: {
50: '#908cd9',
500: '#585fc7',
950: '#000000',
},
}SCSS
$custom: #585fc7; $custom-light: #908cd9; $custom-dark: #000000;
JSON
{
"hex": "#585fc7",
"rgb": {
"r": 88,
"g": 95,
"b": 199
},
"hsl": {
"h": 236.216,
"s": 49.776,
"l": 56.275
},
"oklch": {
"l": 0.53464,
"c": 0.15921,
"h": 276.7
},
"luminance": 0.14383
}Semantic roles & 50–950 ramp
primary
#585FC7
secondary
#D4D1A7
accent
#D14FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83