#5F87BF#5F87BF
#5F87BF is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.8% C 0.096 H 256.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5F87BF |
|---|---|
| RGB | rgb(95, 135, 191) |
| HSL | hsl(215, 43%, 56%) |
| HSV | hsv(215, 50%, 75%) |
| CMYK | cmyk(50.3%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(55.60, 1.96, -33.49) |
| CIE-LCH | lch(55.60, 33.55, 273.35°) |
| OKLab | oklab(61.75% -0.0218 -0.094) |
| OKLCH | oklch(61.75% 0.096 256.9) |
| XYZ | xyz(22.7841, 23.5208, 52.6195) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 1.99
Off Blue
#5684AE
ΔE00 3.71
Dusty Blue
#5A86AD
ΔE00 3.77
Cool Blue
#4984B8
ΔE00 4.41
Soft Blue
#6488EA
ΔE00 4.99
Steel Blue
#4682B4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F87BF #BF975F
analogous
#5FB7BF #5F87BF #675FBF
triadic
#5F87BF #BF5F87 #87BF5F
tetradic
#5F87BF #BF5FB7 #BF975F #5FBF67
square
#5F87BF #BF5FB7 #BF975F #5FBF67
split-complementary
#5F87BF #BF675F #B7BF5F
monochromatic
#2F4C75 #4068A1 #5F87BF #8BA8D0 #B6C9E2
Accessibility & contrast
On white
3.68
#5F87BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#5F87BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F87BF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F87BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F87BF | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#32939B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5f87bf; /* rgb */ color: rgb(95, 135, 191); /* oklch */ color: oklch(61.8% 0.096 256.9);
Tailwind
colors: {
custom: {
50: '#92a9d2',
500: '#5f87bf',
950: '#000000',
},
}SCSS
$custom: #5f87bf; $custom-light: #92a9d2; $custom-dark: #000000;
JSON
{
"hex": "#5f87bf",
"rgb": {
"r": 95,
"g": 135,
"b": 191
},
"hsl": {
"h": 215,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.61753,
"c": 0.09646,
"h": 256.9
},
"luminance": 0.23522
}Semantic roles & 50–950 ramp
primary
#5F87BF
secondary
#D1C0A9
accent
#9E55D3
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82