#5B87F4#5B87F4
#5B87F4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.170 H 265.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F4 |
|---|---|
| RGB | rgb(91, 135, 244) |
| HSL | hsl(223, 87%, 66%) |
| HSV | hsv(223, 63%, 96%) |
| CMYK | cmyk(62.7%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(58.11, 18.31, -59.26) |
| CIE-LCH | lch(58.11, 62.02, 287.17°) |
| OKLab | oklab(64.53% -0.0136 -0.1693) |
| OKLCH | oklch(64.53% 0.17 265.4) |
| XYZ | xyz(29.3018, 26.0811, 89.0604) |
| Luminance | 0.2608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.49
Dodger Blue
#3E82FC
ΔE00 2.96
Cornflowerblue
#6495ED
ΔE00 4.42
Lightish Blue
#3D7AFD
ΔE00 4.44
Clear Blue
#247AFD
ΔE00 5.33
Azure
#007FFF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F4 #F4C85B
analogous
#5BD4F4 #5B87F4 #7B5BF4
triadic
#5B87F4 #F45B87 #87F45B
tetradic
#5B87F4 #F45BD4 #F4C85B #5BF47B
square
#5B87F4 #F45BD4 #F4C85B #5BF47B
split-complementary
#5B87F4 #F47B5B #D4F45B
monochromatic
#0D43C7 #225DF0 #5B87F4 #94B1F8 #CEDBFC
Accessibility & contrast
On white
3.38
#5B87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#5B87F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F4 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b87f4; /* rgb */ color: rgb(91, 135, 244); /* oklch */ color: oklch(64.5% 0.170 265.4);
Tailwind
colors: {
custom: {
50: '#97a9f8',
500: '#5b87f4',
950: '#000000',
},
}SCSS
$custom: #5b87f4; $custom-light: #97a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5b87f4",
"rgb": {
"r": 91,
"g": 135,
"b": 244
},
"hsl": {
"h": 222.745,
"s": 87.429,
"l": 65.686
},
"oklch": {
"l": 0.64526,
"c": 0.16982,
"h": 265.4
},
"luminance": 0.26084
}Semantic roles & 50–950 ramp
primary
#5B87F4
secondary
#EFE0BC
accent
#A302E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85