#5787CB#5787CB
#5787CB is a mid, moderate blue. Relative luminance 0.237; OKLCH L 61.9% C 0.116 H 257.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5787CB |
|---|---|
| RGB | rgb(87, 135, 203) |
| HSL | hsl(215, 53%, 57%) |
| HSV | hsv(215, 57%, 80%) |
| CMYK | cmyk(57.1%, 33.5%, 0%, 20.4%) |
| CIE-LAB | lab(55.75, 3.97, -40.10) |
| CIE-LCH | lch(55.75, 40.30, 275.66°) |
| OKLab | oklab(61.94% -0.0257 -0.1132) |
| OKLCH | oklch(61.94% 0.116 257.2) |
| XYZ | xyz(23.3702, 23.6640, 59.8244) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.97
Dark Sky Blue
#448EE4
ΔE00 4.06
Cool Blue
#4984B8
ΔE00 4.15
Off Blue
#5684AE
ΔE00 4.17
Dusty Blue
#5A86AD
ΔE00 4.34
Soft Blue
#6488EA
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787CB #CB9B57
analogous
#57C1CB #5787CB #6157CB
triadic
#5787CB #CB5787 #87CB57
tetradic
#5787CB #CB57C1 #CB9B57 #57CB61
square
#5787CB #CB57C1 #CB9B57 #57CB61
split-complementary
#5787CB #CB6157 #C1CB57
monochromatic
#284C80 #3668AF #5787CB #86A8D9 #B4CAE8
Accessibility & contrast
On white
3.66
#5787CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5787CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787CB
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787CB | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8CCE
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5787cb; /* rgb */ color: rgb(87, 135, 203); /* oklch */ color: oklch(61.9% 0.116 257.2);
Tailwind
colors: {
custom: {
50: '#8fa9db',
500: '#5787cb',
950: '#000000',
},
}SCSS
$custom: #5787cb; $custom-light: #8fa9db; $custom-dark: #000000;
JSON
{
"hex": "#5787cb",
"rgb": {
"r": 87,
"g": 135,
"b": 203
},
"hsl": {
"h": 215.172,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.61939,
"c": 0.11613,
"h": 257.2
},
"luminance": 0.23666
}Semantic roles & 50–950 ramp
primary
#5787CB
secondary
#D7C3A7
accent
#A04CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83