#5A87AF#5A87AF
#5A87AF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.7% C 0.079 H 246.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87AF |
|---|---|
| RGB | rgb(90, 135, 175) |
| HSL | hsl(208, 35%, 52%) |
| HSV | hsv(208, 49%, 69%) |
| CMYK | cmyk(48.6%, 22.9%, 0%, 31.4%) |
| CIE-LAB | lab(54.65, -4.12, -25.85) |
| CIE-LCH | lch(54.65, 26.18, 260.94°) |
| OKLab | oklab(60.71% -0.0315 -0.072) |
| OKLCH | oklch(60.71% 0.079 246.4) |
| XYZ | xyz(20.6156, 22.5953, 43.8241) |
| Luminance | 0.2260 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusty Blue
#5A86AD
ΔE00 0.42
Off Blue
#5684AE
ΔE00 1.17
Cool Blue
#4984B8
ΔE00 2.72
Steel Blue
#4682B4
ΔE00 3.16
Faded Blue
#658CBB
ΔE00 3.37
Greyish Blue
#5E819D
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87AF #AF825A
analogous
#5AAFAD #5A87AF #5A5DAF
triadic
#5A87AF #AF5A87 #87AF5A
tetradic
#5A87AF #AD5AAF #AF825A #5DAF5A
square
#5A87AF #AD5AAF #AF825A #5DAF5A
split-complementary
#5A87AF #AF5A5D #AFAD5A
monochromatic
#2F4960 #436889 #5A87AF #83A5C3 #ACC3D7
Accessibility & contrast
On white
3.80
#5A87AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#5A87AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87AF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87AF | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7688B1
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#339094
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a87af; /* rgb */ color: rgb(90, 135, 175); /* oklch */ color: oklch(60.7% 0.079 246.4);
Tailwind
colors: {
custom: {
50: '#8da9c7',
500: '#5a87af',
950: '#000000',
},
}SCSS
$custom: #5a87af; $custom-light: #8da9c7; $custom-dark: #000000;
JSON
{
"hex": "#5a87af",
"rgb": {
"r": 90,
"g": 135,
"b": 175
},
"hsl": {
"h": 208.235,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.60709,
"c": 0.07864,
"h": 246.4
},
"luminance": 0.22597
}Semantic roles & 50–950 ramp
primary
#5A87AF
secondary
#C5B1A0
accent
#915DCB
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0D1013
muted
#7D7F82