#5786C8#5786C8
#5786C8 is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.6% C 0.113 H 257.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5786C8 |
|---|---|
| RGB | rgb(87, 134, 200) |
| HSL | hsl(215, 51%, 56%) |
| HSV | hsv(215, 57%, 78%) |
| CMYK | cmyk(56.5%, 33%, 0%, 21.6%) |
| CIE-LAB | lab(55.32, 3.59, -39.07) |
| CIE-LCH | lch(55.32, 39.24, 275.26°) |
| OKLab | oklab(61.56% -0.0254 -0.1103) |
| OKLCH | oklch(61.56% 0.113 257) |
| XYZ | xyz(22.8773, 23.2447, 57.9135) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.00
Off Blue
#5684AE
ΔE00 3.88
Cool Blue
#4984B8
ΔE00 3.94
Dusty Blue
#5A86AD
ΔE00 4.12
Dark Sky Blue
#448EE4
ΔE00 4.44
Steel Blue
#4682B4
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786C8 #C89957
analogous
#57BFC8 #5786C8 #6157C8
triadic
#5786C8 #C85786 #86C857
tetradic
#5786C8 #C857BF #C89957 #57C861
square
#5786C8 #C857BF #C89957 #57C861
split-complementary
#5786C8 #C86157 #BFC857
monochromatic
#294B7C #3867AA #5786C8 #85A7D7 #B3C8E6
Accessibility & contrast
On white
3.72
#5786C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#5786C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786C8
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786C8 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#00959E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5786c8; /* rgb */ color: rgb(87, 134, 200); /* oklch */ color: oklch(61.6% 0.113 257.0);
Tailwind
colors: {
custom: {
50: '#8ea8d9',
500: '#5786c8',
950: '#000000',
},
}SCSS
$custom: #5786c8; $custom-light: #8ea8d9; $custom-dark: #000000;
JSON
{
"hex": "#5786c8",
"rgb": {
"r": 87,
"g": 134,
"b": 200
},
"hsl": {
"h": 215.044,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.61559,
"c": 0.11316,
"h": 257
},
"luminance": 0.23247
}Semantic roles & 50–950 ramp
primary
#5786C8
secondary
#D5C1A6
accent
#A04EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83