#5F87CA#5F87CA
#5F87CA is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.3% C 0.111 H 260.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5F87CA |
|---|---|
| RGB | rgb(95, 135, 202) |
| HSL | hsl(218, 50%, 58%) |
| HSV | hsv(218, 53%, 79%) |
| CMYK | cmyk(53%, 33.2%, 0%, 20.8%) |
| CIE-LAB | lab(56.11, 5.38, -38.94) |
| CIE-LCH | lch(56.11, 39.31, 277.87°) |
| OKLab | oklab(62.32% -0.0188 -0.1097) |
| OKLCH | oklch(62.32% 0.111 260.3) |
| XYZ | xyz(24.0403, 24.0233, 59.2358) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 2.72
Soft Blue
#6488EA
ΔE00 3.86
Off Blue
#5684AE
ΔE00 4.80
Dusty Blue
#5A86AD
ΔE00 4.85
Dark Sky Blue
#448EE4
ΔE00 5.22
Dodger Blue
#3E82FC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F87CA #CAA25F
analogous
#5FBCCA #5F87CA #6C5FCA
triadic
#5F87CA #CA5F87 #87CA5F
tetradic
#5F87CA #CA5FBC #CAA25F #5FCA6C
square
#5F87CA #CA5FBC #CAA25F #5FCA6C
split-complementary
#5F87CA #CA6C5F #BCCA5F
monochromatic
#2B4C83 #3B67B1 #5F87CA #8DA9D9 #BBCCE8
Accessibility & contrast
On white
3.62
#5F87CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5F87CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F87CA
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F87CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F87CA | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#26969F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f87ca; /* rgb */ color: rgb(95, 135, 202); /* oklch */ color: oklch(62.3% 0.111 260.3);
Tailwind
colors: {
custom: {
50: '#93a9da',
500: '#5f87ca',
950: '#000000',
},
}SCSS
$custom: #5f87ca; $custom-light: #93a9da; $custom-dark: #000000;
JSON
{
"hex": "#5f87ca",
"rgb": {
"r": 95,
"g": 135,
"b": 202
},
"hsl": {
"h": 217.57,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.62315,
"c": 0.11133,
"h": 260.3
},
"luminance": 0.24025
}Semantic roles & 50–950 ramp
primary
#5F87CA
secondary
#D8C8AD
accent
#A64EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83