#5786CD#5786CD
#5786CD is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.8% C 0.120 H 258.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5786CD |
|---|---|
| RGB | rgb(87, 134, 205) |
| HSL | hsl(216, 54%, 57%) |
| HSV | hsv(216, 58%, 80%) |
| CMYK | cmyk(57.6%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(55.57, 5.22, -41.52) |
| CIE-LCH | lch(55.57, 41.85, 277.16°) |
| OKLab | oklab(61.83% -0.0241 -0.1174) |
| OKLCH | oklch(61.83% 0.12 258.4) |
| XYZ | xyz(23.4712, 23.4822, 61.0414) |
| Luminance | 0.2348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.23
Dark Sky Blue
#448EE4
ΔE00 4.36
Off Blue
#5684AE
ΔE00 4.37
Soft Blue
#6488EA
ΔE00 4.37
Cool Blue
#4984B8
ΔE00 4.43
Dodger Blue
#3E82FC
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786CD #CD9E57
analogous
#57C1CD #5786CD #6357CD
triadic
#5786CD #CD5786 #86CD57
tetradic
#5786CD #CD57C1 #CD9E57 #57CD63
square
#5786CD #CD57C1 #CD9E57 #57CD63
split-complementary
#5786CD #CD6357 #C1CD57
monochromatic
#274B83 #3567B2 #5786CD #86A8DB #B5CAE9
Accessibility & contrast
On white
3.69
#5786CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#5786CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786CD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786CD | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5786cd; /* rgb */ color: rgb(87, 134, 205); /* oklch */ color: oklch(61.8% 0.120 258.4);
Tailwind
colors: {
custom: {
50: '#8fa8dc',
500: '#5786cd',
950: '#000000',
},
}SCSS
$custom: #5786cd; $custom-light: #8fa8dc; $custom-dark: #000000;
JSON
{
"hex": "#5786cd",
"rgb": {
"r": 87,
"g": 134,
"b": 205
},
"hsl": {
"h": 216.102,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.61827,
"c": 0.11984,
"h": 258.4
},
"luminance": 0.23484
}Semantic roles & 50–950 ramp
primary
#5786CD
secondary
#D8C5A8
accent
#A34ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83