#5B87F0#5B87F0
#5B87F0 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.164 H 265.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F0 |
|---|---|
| RGB | rgb(91, 135, 240) |
| HSL | hsl(222, 83%, 65%) |
| HSV | hsv(222, 62%, 94%) |
| CMYK | cmyk(62.1%, 43.8%, 0%, 5.9%) |
| CIE-LAB | lab(57.89, 16.97, -57.41) |
| CIE-LCH | lch(57.89, 59.87, 286.47°) |
| OKLab | oklab(64.28% -0.0143 -0.1638) |
| OKLCH | oklch(64.28% 0.164 265) |
| XYZ | xyz(28.7011, 25.8408, 85.8964) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.34
Dodger Blue
#3E82FC
ΔE00 2.94
Cornflowerblue
#6495ED
ΔE00 4.37
Lightish Blue
#3D7AFD
ΔE00 4.48
Clear Blue
#247AFD
ΔE00 5.28
Azure
#007FFF
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F0 #F0C45B
analogous
#5BD1F0 #5B87F0 #7A5BF0
triadic
#5B87F0 #F05B87 #87F05B
tetradic
#5B87F0 #F05BD1 #F0C45B #5BF07A
square
#5B87F0 #F05BD1 #F0C45B #5BF07A
split-complementary
#5B87F0 #F07A5B #D1F05B
monochromatic
#1145BF #235EEB #5B87F0 #93B0F5 #CBD9FA
Accessibility & contrast
On white
3.40
#5B87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#5B87F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F0
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F0 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#3E85EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b87f0; /* rgb */ color: rgb(91, 135, 240); /* oklch */ color: oklch(64.3% 0.164 265.0);
Tailwind
colors: {
custom: {
50: '#96a9f5',
500: '#5b87f0',
950: '#000000',
},
}SCSS
$custom: #5b87f0; $custom-light: #96a9f5; $custom-dark: #000000;
JSON
{
"hex": "#5b87f0",
"rgb": {
"r": 91,
"g": 135,
"b": 240
},
"hsl": {
"h": 222.282,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.64277,
"c": 0.16446,
"h": 265
},
"luminance": 0.25843
}Semantic roles & 50–950 ramp
primary
#5B87F0
secondary
#EDDEBA
accent
#9F06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85