#5786CE#5786CE
#5786CE is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.121 H 258.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5786CE |
|---|---|
| RGB | rgb(87, 134, 206) |
| HSL | hsl(216, 55%, 57%) |
| HSV | hsv(216, 58%, 81%) |
| CMYK | cmyk(57.8%, 35%, 0%, 19.2%) |
| CIE-LAB | lab(55.61, 5.55, -42.01) |
| CIE-LCH | lch(55.61, 42.37, 277.52°) |
| OKLab | oklab(61.88% -0.0238 -0.1188) |
| OKLCH | oklch(61.88% 0.121 258.7) |
| XYZ | xyz(23.5923, 23.5307, 61.6792) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.28
Soft Blue
#6488EA
ΔE00 4.28
Dark Sky Blue
#448EE4
ΔE00 4.35
Off Blue
#5684AE
ΔE00 4.47
Dodger Blue
#3E82FC
ΔE00 4.48
Cool Blue
#4984B8
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786CE #CE9F57
analogous
#57C1CE #5786CE #6457CE
triadic
#5786CE #CE5786 #86CE57
tetradic
#5786CE #CE57C1 #CE9F57 #57CE64
square
#5786CE #CE57C1 #CE9F57 #57CE64
split-complementary
#5786CE #CE6457 #C1CE57
monochromatic
#274B84 #3467B3 #5786CE #86A8DC #B6CAEA
Accessibility & contrast
On white
3.68
#5786CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#5786CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786CE
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786CE | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5786ce; /* rgb */ color: rgb(87, 134, 206); /* oklch */ color: oklch(61.9% 0.121 258.7);
Tailwind
colors: {
custom: {
50: '#8fa8dd',
500: '#5786ce',
950: '#000000',
},
}SCSS
$custom: #5786ce; $custom-light: #8fa8dd; $custom-dark: #000000;
JSON
{
"hex": "#5786ce",
"rgb": {
"r": 87,
"g": 134,
"b": 206
},
"hsl": {
"h": 216.303,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.61881,
"c": 0.12118,
"h": 258.7
},
"luminance": 0.23533
}Semantic roles & 50–950 ramp
primary
#5786CE
secondary
#D8C5A8
accent
#A44ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83