#5B87F2#5B87F2
#5B87F2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.167 H 265.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F2 |
|---|---|
| RGB | rgb(91, 135, 242) |
| HSL | hsl(223, 85%, 65%) |
| HSV | hsv(223, 62%, 95%) |
| CMYK | cmyk(62.4%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(58.00, 17.64, -58.34) |
| CIE-LCH | lch(58.00, 60.95, 286.83°) |
| OKLab | oklab(64.4% -0.0139 -0.1666) |
| OKLCH | oklch(64.4% 0.167 265.2) |
| XYZ | xyz(28.9998, 25.9603, 87.4698) |
| Luminance | 0.2596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.40
Dodger Blue
#3E82FC
ΔE00 2.94
Cornflowerblue
#6495ED
ΔE00 4.39
Lightish Blue
#3D7AFD
ΔE00 4.45
Clear Blue
#247AFD
ΔE00 5.30
Azure
#007FFF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F2 #F2C65B
analogous
#5BD2F2 #5B87F2 #7B5BF2
triadic
#5B87F2 #F25B87 #87F25B
tetradic
#5B87F2 #F25BD2 #F2C65B #5BF27B
square
#5B87F2 #F25BD2 #F2C65B #5BF27B
split-complementary
#5B87F2 #F27B5B #D2F25B
monochromatic
#0F44C3 #225EEE #5B87F2 #94B0F6 #CCDAFB
Accessibility & contrast
On white
3.39
#5B87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#5B87F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F2 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b87f2; /* rgb */ color: rgb(91, 135, 242); /* oklch */ color: oklch(64.4% 0.167 265.2);
Tailwind
colors: {
custom: {
50: '#96a9f7',
500: '#5b87f2',
950: '#000000',
},
}SCSS
$custom: #5b87f2; $custom-light: #96a9f7; $custom-dark: #000000;
JSON
{
"hex": "#5b87f2",
"rgb": {
"r": 91,
"g": 135,
"b": 242
},
"hsl": {
"h": 222.517,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.64401,
"c": 0.16714,
"h": 265.2
},
"luminance": 0.25963
}Semantic roles & 50–950 ramp
primary
#5B87F2
secondary
#EEDFBB
accent
#A104E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85