#5A87C8#5A87C8
#5A87C8 is a mid, moderate blue. Relative luminance 0.237; OKLCH L 61.9% C 0.111 H 257.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87C8 |
|---|---|
| RGB | rgb(90, 135, 200) |
| HSL | hsl(215, 50%, 57%) |
| HSV | hsv(215, 55%, 78%) |
| CMYK | cmyk(55%, 32.5%, 0%, 21.6%) |
| CIE-LAB | lab(55.76, 3.64, -38.38) |
| CIE-LCH | lch(55.76, 38.56, 275.42°) |
| OKLab | oklab(61.94% -0.0239 -0.1082) |
| OKLCH | oklch(61.94% 0.111 257.6) |
| XYZ | xyz(23.3021, 23.6699, 57.9732) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.65
Off Blue
#5684AE
ΔE00 4.10
Dusty Blue
#5A86AD
ΔE00 4.24
Cool Blue
#4984B8
ΔE00 4.31
Dark Sky Blue
#448EE4
ΔE00 4.49
Soft Blue
#6488EA
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87C8 #C89B5A
analogous
#5ABEC8 #5A87C8 #645AC8
triadic
#5A87C8 #C85A87 #87C85A
tetradic
#5A87C8 #C85ABE #C89B5A #5AC864
square
#5A87C8 #C85ABE #C89B5A #5AC864
split-complementary
#5A87C8 #C8645A #BEC85A
monochromatic
#2A4C7E #3968AC #5A87C8 #88A8D7 #B6CAE7
Accessibility & contrast
On white
3.66
#5A87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5A87C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87C8
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87C8 | 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)
#6D8BCB
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#13959E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a87c8; /* rgb */ color: rgb(90, 135, 200); /* oklch */ color: oklch(61.9% 0.111 257.6);
Tailwind
colors: {
custom: {
50: '#90a9d9',
500: '#5a87c8',
950: '#000000',
},
}SCSS
$custom: #5a87c8; $custom-light: #90a9d9; $custom-dark: #000000;
JSON
{
"hex": "#5a87c8",
"rgb": {
"r": 90,
"g": 135,
"b": 200
},
"hsl": {
"h": 215.455,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.61937,
"c": 0.11081,
"h": 257.6
},
"luminance": 0.23672
}Semantic roles & 50–950 ramp
primary
#5A87C8
secondary
#D5C3A8
accent
#A14EDA
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D0F14
muted
#7E7F83