#5B87FD#5B87FD
#5B87FD is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.1% C 0.182 H 266.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B87FD |
|---|---|
| RGB | rgb(91, 135, 253) |
| HSL | hsl(224, 98%, 67%) |
| HSV | hsv(224, 64%, 99%) |
| CMYK | cmyk(64%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.64, 21.34, -63.38) |
| CIE-LCH | lch(58.64, 66.87, 288.61°) |
| OKLab | oklab(65.1% -0.0123 -0.1814) |
| OKLCH | oklch(65.1% 0.182 266.1) |
| XYZ | xyz(30.7019, 26.6411, 96.4337) |
| Luminance | 0.2664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.16
Dodger Blue
#3E82FC
ΔE00 3.25
Lightish Blue
#3D7AFD
ΔE00 4.54
Cornflowerblue
#6495ED
ΔE00 4.68
Clear Blue
#247AFD
ΔE00 5.58
Cornflower
#6A79F7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B87FD #FDD15B
analogous
#5BD8FD #5B87FD #805BFD
triadic
#5B87FD #FD5B87 #87FD5B
tetradic
#5B87FD #FD5BD8 #FDD15B #5BFD80
square
#5B87FD #FD5BD8 #FDD15B #5BFD80
split-complementary
#5B87FD #FD805B #D8FD5B
monochromatic
#033DDB #1F5BFC #5B87FD #97B3FE #D4DFFE
Accessibility & contrast
On white
3.32
#5B87FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#5B87FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B87FD
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B87FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B87FD | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5b87fd; /* rgb */ color: rgb(91, 135, 253); /* oklch */ color: oklch(65.1% 0.182 266.1);
Tailwind
colors: {
custom: {
50: '#98a9ff',
500: '#5b87fd',
950: '#000000',
},
}SCSS
$custom: #5b87fd; $custom-light: #98a9ff; $custom-dark: #000000;
JSON
{
"hex": "#5b87fd",
"rgb": {
"r": 91,
"g": 135,
"b": 253
},
"hsl": {
"h": 223.704,
"s": 97.59,
"l": 67.451
},
"oklch": {
"l": 0.65098,
"c": 0.1818,
"h": 266.1
},
"luminance": 0.26644
}Semantic roles & 50–950 ramp
primary
#5B87FD
secondary
#F3E5C1
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86