#5786CA#5786CA
#5786CA is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.116 H 257.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5786CA |
|---|---|
| RGB | rgb(87, 134, 202) |
| HSL | hsl(215, 52%, 57%) |
| HSV | hsv(215, 57%, 79%) |
| CMYK | cmyk(56.9%, 33.7%, 0%, 20.8%) |
| CIE-LAB | lab(55.42, 4.24, -40.06) |
| CIE-LCH | lch(55.42, 40.28, 276.05°) |
| OKLab | oklab(61.67% -0.0249 -0.1131) |
| OKLCH | oklch(61.67% 0.116 257.6) |
| XYZ | xyz(23.1125, 23.3388, 59.1525) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.09
Off Blue
#5684AE
ΔE00 4.08
Cool Blue
#4984B8
ΔE00 4.14
Dusty Blue
#5A86AD
ΔE00 4.31
Dark Sky Blue
#448EE4
ΔE00 4.40
Soft Blue
#6488EA
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786CA #CA9B57
analogous
#57C0CA #5786CA #6257CA
triadic
#5786CA #CA5786 #86CA57
tetradic
#5786CA #CA57C0 #CA9B57 #57CA62
square
#5786CA #CA57C0 #CA9B57 #57CA62
split-complementary
#5786CA #CA6257 #C0CA57
monochromatic
#284B7F #3767AD #5786CA #86A8D9 #B4C9E7
Accessibility & contrast
On white
3.70
#5786CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#5786CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786CA
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786CA | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5786ca; /* rgb */ color: rgb(87, 134, 202); /* oklch */ color: oklch(61.7% 0.116 257.6);
Tailwind
colors: {
custom: {
50: '#8fa8da',
500: '#5786ca',
950: '#000000',
},
}SCSS
$custom: #5786ca; $custom-light: #8fa8da; $custom-dark: #000000;
JSON
{
"hex": "#5786ca",
"rgb": {
"r": 87,
"g": 134,
"b": 202
},
"hsl": {
"h": 215.478,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.61665,
"c": 0.11582,
"h": 257.6
},
"luminance": 0.23341
}Semantic roles & 50–950 ramp
primary
#5786CA
secondary
#D6C3A7
accent
#A14CDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83