#5786CB#5786CB
#5786CB is a mid, moderate blue. Relative luminance 0.234; OKLCH L 61.7% C 0.117 H 257.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5786CB |
|---|---|
| RGB | rgb(87, 134, 203) |
| HSL | hsl(216, 53%, 57%) |
| HSV | hsv(216, 57%, 80%) |
| CMYK | cmyk(57.1%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(55.47, 4.57, -40.55) |
| CIE-LCH | lch(55.47, 40.80, 276.43°) |
| OKLab | oklab(61.72% -0.0246 -0.1145) |
| OKLCH | oklch(61.72% 0.117 257.9) |
| XYZ | xyz(23.2313, 23.3863, 59.7781) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.13
Off Blue
#5684AE
ΔE00 4.18
Cool Blue
#4984B8
ΔE00 4.24
Dark Sky Blue
#448EE4
ΔE00 4.38
Dusty Blue
#5A86AD
ΔE00 4.40
Soft Blue
#6488EA
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786CB #CB9C57
analogous
#57C0CB #5786CB #6257CB
triadic
#5786CB #CB5786 #86CB57
tetradic
#5786CB #CB57C0 #CB9C57 #57CB62
square
#5786CB #CB57C0 #CB9C57 #57CB62
split-complementary
#5786CB #CB6257 #C0CB57
monochromatic
#284B80 #3667AF #5786CB #86A8D9 #B4C9E8
Accessibility & contrast
On white
3.70
#5786CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#5786CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786CB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786CB | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5786cb; /* rgb */ color: rgb(87, 134, 203); /* oklch */ color: oklch(61.7% 0.117 257.9);
Tailwind
colors: {
custom: {
50: '#8fa8db',
500: '#5786cb',
950: '#000000',
},
}SCSS
$custom: #5786cb; $custom-light: #8fa8db; $custom-dark: #000000;
JSON
{
"hex": "#5786cb",
"rgb": {
"r": 87,
"g": 134,
"b": 203
},
"hsl": {
"h": 215.69,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.61719,
"c": 0.11716,
"h": 257.9
},
"luminance": 0.23388
}Semantic roles & 50–950 ramp
primary
#5786CB
secondary
#D7C3A7
accent
#A24CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83