#5866CD#5866CD
#5866CD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.158 H 274.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5866CD |
|---|---|
| RGB | rgb(88, 102, 205) |
| HSL | hsl(233, 54%, 57%) |
| HSV | hsv(233, 57%, 80%) |
| CMYK | cmyk(57.1%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.95, 25.01, -55.24) |
| CIE-LCH | lch(46.95, 60.63, 294.36°) |
| OKLab | oklab(55.23% 0.0116 -0.1579) |
| OKLCH | oklch(55.23% 0.158 274.2) |
| XYZ | xyz(19.7917, 15.9838, 59.7880) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.93
Royal Blue
#4169E1
ΔE00 4.09
Cornflower Blue
#5170D7
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 5.14
Iris
#6258C4
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5866CD #CDBF58
analogous
#58A0CD #5866CD #8558CD
triadic
#5866CD #CD5866 #66CD58
tetradic
#5866CD #CD58A0 #CDBF58 #58CD85
square
#5866CD #CD58A0 #CDBF58 #58CD85
split-complementary
#5866CD #CD8558 #A0CD58
monochromatic
#273283 #3544B2 #5866CD #8791DB #B6BCE9
Accessibility & contrast
On white
5.00
#5866CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5866CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5866CD
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5866CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5866CD | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#1B6BCB
Tritanopia (blue-blind)
#0A7D90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5866cd; /* rgb */ color: rgb(88, 102, 205); /* oklch */ color: oklch(55.2% 0.158 274.2);
Tailwind
colors: {
custom: {
50: '#9091dd',
500: '#5866cd',
950: '#000000',
},
}SCSS
$custom: #5866cd; $custom-light: #9091dd; $custom-dark: #000000;
JSON
{
"hex": "#5866cd",
"rgb": {
"r": 88,
"g": 102,
"b": 205
},
"hsl": {
"h": 232.821,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.55228,
"c": 0.15833,
"h": 274.2
},
"luminance": 0.15985
}Semantic roles & 50–950 ramp
primary
#5866CD
secondary
#D8D2A9
accent
#CC4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83