#5987CA#5987CA
#5987CA is a mid, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.114 H 257.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5987CA |
|---|---|
| RGB | rgb(89, 135, 202) |
| HSL | hsl(216, 52%, 57%) |
| HSV | hsv(216, 56%, 79%) |
| CMYK | cmyk(55.9%, 33.2%, 0%, 20.8%) |
| CIE-LAB | lab(55.80, 4.07, -39.45) |
| CIE-LCH | lch(55.80, 39.66, 275.89°) |
| OKLab | oklab(61.99% -0.0242 -0.1113) |
| OKLCH | oklch(61.99% 0.114 257.7) |
| XYZ | xyz(23.4408, 23.7142, 59.2077) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.81
Off Blue
#5684AE
ΔE00 4.21
Dark Sky Blue
#448EE4
ΔE00 4.32
Cool Blue
#4984B8
ΔE00 4.35
Dusty Blue
#5A86AD
ΔE00 4.36
Soft Blue
#6488EA
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5987CA #CA9C59
analogous
#59C0CA #5987CA #6459CA
triadic
#5987CA #CA5987 #87CA59
tetradic
#5987CA #CA59C0 #CA9C59 #59CA64
square
#5987CA #CA59C0 #CA9C59 #59CA64
split-complementary
#5987CA #CA6459 #C0CA59
monochromatic
#294C80 #3868AE #5987CA #87A9D9 #B6CAE8
Accessibility & contrast
On white
3.66
#5987CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#5987CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5987CA
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5987CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5987CA | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#04969F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5987ca; /* rgb */ color: rgb(89, 135, 202); /* oklch */ color: oklch(62.0% 0.114 257.7);
Tailwind
colors: {
custom: {
50: '#90a9da',
500: '#5987ca',
950: '#000000',
},
}SCSS
$custom: #5987ca; $custom-light: #90a9da; $custom-dark: #000000;
JSON
{
"hex": "#5987ca",
"rgb": {
"r": 89,
"g": 135,
"b": 202
},
"hsl": {
"h": 215.575,
"s": 51.598,
"l": 57.059
},
"oklch": {
"l": 0.61989,
"c": 0.11392,
"h": 257.7
},
"luminance": 0.23716
}Semantic roles & 50–950 ramp
primary
#5987CA
secondary
#D6C4A8
accent
#A14DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83