#5B87F1#5B87F1
#5B87F1 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.166 H 265.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F1 |
|---|---|
| RGB | rgb(91, 135, 241) |
| HSL | hsl(222, 84%, 65%) |
| HSV | hsv(222, 62%, 95%) |
| CMYK | cmyk(62.2%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(57.94, 17.31, -57.87) |
| CIE-LCH | lch(57.94, 60.41, 286.65°) |
| OKLab | oklab(64.34% -0.0141 -0.1652) |
| OKLCH | oklch(64.34% 0.166 265.1) |
| XYZ | xyz(28.8501, 25.9004, 86.6809) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.36
Dodger Blue
#3E82FC
ΔE00 2.94
Cornflowerblue
#6495ED
ΔE00 4.38
Lightish Blue
#3D7AFD
ΔE00 4.46
Clear Blue
#247AFD
ΔE00 5.29
Azure
#007FFF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F1 #F1C55B
analogous
#5BD2F1 #5B87F1 #7A5BF1
triadic
#5B87F1 #F15B87 #87F15B
tetradic
#5B87F1 #F15BD2 #F1C55B #5BF17A
square
#5B87F1 #F15BD2 #F1C55B #5BF17A
split-complementary
#5B87F1 #F17A5B #D2F15B
monochromatic
#1044C1 #235EEC #5B87F1 #93B0F6 #CCDAFB
Accessibility & contrast
On white
3.40
#5B87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5B87F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F1
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F1 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5b87f1; /* rgb */ color: rgb(91, 135, 241); /* oklch */ color: oklch(64.3% 0.166 265.1);
Tailwind
colors: {
custom: {
50: '#96a9f6',
500: '#5b87f1',
950: '#000000',
},
}SCSS
$custom: #5b87f1; $custom-light: #96a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5b87f1",
"rgb": {
"r": 91,
"g": 135,
"b": 241
},
"hsl": {
"h": 222.4,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.64339,
"c": 0.1658,
"h": 265.1
},
"luminance": 0.25903
}Semantic roles & 50–950 ramp
primary
#5B87F1
secondary
#EDDEBA
accent
#A005E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85