#5B87EF#5B87EF
#5B87EF is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.163 H 264.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87EF |
|---|---|
| RGB | rgb(91, 135, 239) |
| HSL | hsl(222, 82%, 65%) |
| HSV | hsv(222, 62%, 94%) |
| CMYK | cmyk(61.9%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(57.83, 16.64, -56.95) |
| CIE-LCH | lch(57.83, 59.33, 286.29°) |
| OKLab | oklab(64.22% -0.0144 -0.1625) |
| OKLCH | oklch(64.22% 0.163 264.9) |
| XYZ | xyz(28.5530, 25.7815, 85.1162) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.33
Dodger Blue
#3E82FC
ΔE00 2.95
Cornflowerblue
#6495ED
ΔE00 4.36
Lightish Blue
#3D7AFD
ΔE00 4.49
Clear Blue
#247AFD
ΔE00 5.27
Azure
#007FFF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87EF #EFC35B
analogous
#5BD1EF #5B87EF #795BEF
triadic
#5B87EF #EF5B87 #87EF5B
tetradic
#5B87EF #EF5BD1 #EFC35B #5BEF79
square
#5B87EF #EF5BD1 #EFC35B #5BEF79
split-complementary
#5B87EF #EF795B #D1EF5B
monochromatic
#1245BD #235EEA #5B87EF #93B0F4 #CBD9FA
Accessibility & contrast
On white
3.41
#5B87EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#5B87EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87EF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87EF | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b87ef; /* rgb */ color: rgb(91, 135, 239); /* oklch */ color: oklch(64.2% 0.163 264.9);
Tailwind
colors: {
custom: {
50: '#96a9f5',
500: '#5b87ef',
950: '#000000',
},
}SCSS
$custom: #5b87ef; $custom-light: #96a9f5; $custom-dark: #000000;
JSON
{
"hex": "#5b87ef",
"rgb": {
"r": 91,
"g": 135,
"b": 239
},
"hsl": {
"h": 222.162,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.64215,
"c": 0.16312,
"h": 264.9
},
"luminance": 0.25784
}Semantic roles & 50–950 ramp
primary
#5B87EF
secondary
#ECDDBA
accent
#9E07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85