#5B87F6#5B87F6
#5B87F6 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.172 H 265.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F6 |
|---|---|
| RGB | rgb(91, 135, 246) |
| HSL | hsl(223, 90%, 66%) |
| HSV | hsv(223, 63%, 96%) |
| CMYK | cmyk(63%, 45.1%, 0%, 3.5%) |
| CIE-LAB | lab(58.23, 18.99, -60.18) |
| CIE-LCH | lch(58.23, 63.10, 287.51°) |
| OKLab | oklab(64.65% -0.0133 -0.172) |
| OKLCH | oklch(64.65% 0.172 265.6) |
| XYZ | xyz(29.6072, 26.2032, 90.6684) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.60
Dodger Blue
#3E82FC
ΔE00 3.00
Lightish Blue
#3D7AFD
ΔE00 4.45
Cornflowerblue
#6495ED
ΔE00 4.46
Clear Blue
#247AFD
ΔE00 5.37
Azure
#007FFF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F6 #F6CA5B
analogous
#5BD4F6 #5B87F6 #7C5BF6
triadic
#5B87F6 #F65B87 #87F65B
tetradic
#5B87F6 #F65BD4 #F6CA5B #5BF67C
square
#5B87F6 #F65BD4 #F6CA5B #5BF67C
split-complementary
#5B87F6 #F67C5B #D4F65B
monochromatic
#0B42CB #215DF3 #5B87F6 #95B1F9 #CFDCFC
Accessibility & contrast
On white
3.36
#5B87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#5B87F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F6
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F6 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5193FA
Deuteranopia (green-blind)
#3685F4
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b87f6; /* rgb */ color: rgb(91, 135, 246); /* oklch */ color: oklch(64.7% 0.172 265.6);
Tailwind
colors: {
custom: {
50: '#97a9fa',
500: '#5b87f6',
950: '#000000',
},
}SCSS
$custom: #5b87f6; $custom-light: #97a9fa; $custom-dark: #000000;
JSON
{
"hex": "#5b87f6",
"rgb": {
"r": 91,
"g": 135,
"b": 246
},
"hsl": {
"h": 222.968,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.64651,
"c": 0.17249,
"h": 265.6
},
"luminance": 0.26206
}Semantic roles & 50–950 ramp
primary
#5B87F6
secondary
#F0E1BD
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85