#5F87B2#5F87B2
#5F87B2 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.1% C 0.079 H 251.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F87B2 |
|---|---|
| RGB | rgb(95, 135, 178) |
| HSL | hsl(211, 35%, 54%) |
| HSV | hsv(211, 47%, 70%) |
| CMYK | cmyk(46.6%, 24.2%, 0%, 30.2%) |
| CIE-LAB | lab(55.05, -1.97, -26.94) |
| CIE-LCH | lch(55.05, 27.01, 265.81°) |
| OKLab | oklab(61.13% -0.0259 -0.0751) |
| OKLCH | oklch(61.13% 0.079 251) |
| XYZ | xyz(21.4165, 22.9738, 45.4167) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusty Blue
#5A86AD
ΔE00 1.79
Off Blue
#5684AE
ΔE00 2.03
Faded Blue
#658CBB
ΔE00 2.15
Cool Blue
#4984B8
ΔE00 3.50
Steel Blue
#4682B4
ΔE00 4.08
Greyish Blue
#5E819D
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F87B2 #B28A5F
analogous
#5FB0B2 #5F87B2 #605FB2
triadic
#5F87B2 #B25F87 #87B25F
tetradic
#5F87B2 #B25FB0 #B28A5F #5FB260
square
#5F87B2 #B25FB0 #B28A5F #5FB260
split-complementary
#5F87B2 #B2605F #B0B25F
monochromatic
#314A66 #45698F #5F87B2 #88A6C6 #B2C5DA
Accessibility & contrast
On white
3.75
#5F87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#5F87B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F87B2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F87B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F87B2 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#3C9196
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f87b2; /* rgb */ color: rgb(95, 135, 178); /* oklch */ color: oklch(61.1% 0.079 251.0);
Tailwind
colors: {
custom: {
50: '#90a9c9',
500: '#5f87b2',
950: '#000000',
},
}SCSS
$custom: #5f87b2; $custom-light: #90a9c9; $custom-dark: #000000;
JSON
{
"hex": "#5f87b2",
"rgb": {
"r": 95,
"g": 135,
"b": 178
},
"hsl": {
"h": 211.084,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.6113,
"c": 0.07945,
"h": 251
},
"luminance": 0.22975
}Semantic roles & 50–950 ramp
primary
#5F87B2
secondary
#C8B7A5
accent
#965DCB
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D0F13
muted
#7E7F82