#5B87F8#5B87F8
#5B87F8 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.175 H 265.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87F8 |
|---|---|
| RGB | rgb(91, 135, 248) |
| HSL | hsl(223, 92%, 66%) |
| HSV | hsv(223, 63%, 97%) |
| CMYK | cmyk(63.3%, 45.6%, 0%, 2.7%) |
| CIE-LAB | lab(58.35, 19.66, -61.10) |
| CIE-LCH | lch(58.35, 64.18, 287.84°) |
| OKLab | oklab(64.78% -0.013 -0.1747) |
| OKLCH | oklch(64.78% 0.175 265.7) |
| XYZ | xyz(29.9158, 26.3267, 92.2938) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.74
Dodger Blue
#3E82FC
ΔE00 3.05
Lightish Blue
#3D7AFD
ΔE00 4.46
Cornflowerblue
#6495ED
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 5.42
Azure
#007FFF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87F8 #F8CC5B
analogous
#5BD5F8 #5B87F8 #7E5BF8
triadic
#5B87F8 #F85B87 #87F85B
tetradic
#5B87F8 #F85BD5 #F8CC5B #5BF87E
square
#5B87F8 #F85BD5 #F8CC5B #5BF87E
split-complementary
#5B87F8 #F87E5B #D5F85B
monochromatic
#0941D0 #205CF5 #5B87F8 #96B2FB #D0DDFD
Accessibility & contrast
On white
3.35
#5B87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5B87F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87F8
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87F8 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#3386F6
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b87f8; /* rgb */ color: rgb(91, 135, 248); /* oklch */ color: oklch(64.8% 0.175 265.7);
Tailwind
colors: {
custom: {
50: '#97a9fb',
500: '#5b87f8',
950: '#000000',
},
}SCSS
$custom: #5b87f8; $custom-light: #97a9fb; $custom-dark: #000000;
JSON
{
"hex": "#5b87f8",
"rgb": {
"r": 91,
"g": 135,
"b": 248
},
"hsl": {
"h": 223.185,
"s": 91.813,
"l": 66.471
},
"oklch": {
"l": 0.64778,
"c": 0.17516,
"h": 265.7
},
"luminance": 0.26329
}Semantic roles & 50–950 ramp
primary
#5B87F8
secondary
#F1E3BE
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85