#5787BF#5787BF
#5787BF is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.100 H 253.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5787BF |
|---|---|
| RGB | rgb(87, 135, 191) |
| HSL | hsl(212, 45%, 55%) |
| HSV | hsv(212, 54%, 75%) |
| CMYK | cmyk(54.5%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(55.19, 0.12, -34.17) |
| CIE-LCH | lch(55.19, 34.17, 270.20°) |
| OKLab | oklab(61.32% -0.0291 -0.096) |
| OKLCH | oklch(61.32% 0.1 253.1) |
| XYZ | xyz(21.9951, 23.1140, 52.5825) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.58
Off Blue
#5684AE
ΔE00 2.80
Cool Blue
#4984B8
ΔE00 2.88
Dusty Blue
#5A86AD
ΔE00 3.02
Steel Blue
#4682B4
ΔE00 3.73
Dark Sky Blue
#448EE4
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787BF #BF8F57
analogous
#57BBBF #5787BF #5B57BF
triadic
#5787BF #BF5787 #87BF57
tetradic
#5787BF #BF57BB #BF8F57 #57BF5B
square
#5787BF #BF57BB #BF8F57 #57BF5B
split-complementary
#5787BF #BF5B57 #BBBF57
monochromatic
#2B4B71 #3C699D #5787BF #83A7D0 #B0C6E1
Accessibility & contrast
On white
3.73
#5787BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5787BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787BF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787BF | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#708AC1
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#16949B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5787bf; /* rgb */ color: rgb(87, 135, 191); /* oklch */ color: oklch(61.3% 0.100 253.1);
Tailwind
colors: {
custom: {
50: '#8da9d2',
500: '#5787bf',
950: '#000000',
},
}SCSS
$custom: #5787bf; $custom-light: #8da9d2; $custom-dark: #000000;
JSON
{
"hex": "#5787bf",
"rgb": {
"r": 87,
"g": 135,
"b": 191
},
"hsl": {
"h": 212.308,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.61317,
"c": 0.10034,
"h": 253.1
},
"luminance": 0.23116
}Semantic roles & 50–950 ramp
primary
#5787BF
secondary
#CFBBA3
accent
#9953D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82