#5A87FB#5A87FB
#5A87FB is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.179 H 265.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87FB |
|---|---|
| RGB | rgb(90, 135, 251) |
| HSL | hsl(223, 95%, 67%) |
| HSV | hsv(223, 64%, 98%) |
| CMYK | cmyk(64.1%, 46.2%, 0%, 1.6%) |
| CIE-LAB | lab(58.47, 20.50, -62.54) |
| CIE-LCH | lch(58.47, 65.82, 288.15°) |
| OKLab | oklab(64.92% -0.0135 -0.1789) |
| OKLCH | oklch(64.92% 0.179 265.7) |
| XYZ | xyz(30.2870, 26.4638, 94.7600) |
| Luminance | 0.2647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.03
Dodger Blue
#3E82FC
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 4.45
Cornflowerblue
#6495ED
ΔE00 4.57
Clear Blue
#247AFD
ΔE00 5.42
Azure
#007FFF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87FB #FBCE5A
analogous
#5AD7FB #5A87FB #7E5AFB
triadic
#5A87FB #FB5A87 #87FB5A
tetradic
#5A87FB #FB5AD7 #FBCE5A #5AFB7E
square
#5A87FB #FB5AD7 #FBCE5A #5AFB7E
split-complementary
#5A87FB #FB7E5A #D7FB5A
monochromatic
#053FD5 #1E5CFA #5A87FB #96B2FC #D2DEFE
Accessibility & contrast
On white
3.34
#5A87FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#5A87FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87FB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87FB | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#2D86F9
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a87fb; /* rgb */ color: rgb(90, 135, 251); /* oklch */ color: oklch(64.9% 0.179 265.7);
Tailwind
colors: {
custom: {
50: '#97a9fd',
500: '#5a87fb',
950: '#000000',
},
}SCSS
$custom: #5a87fb; $custom-light: #97a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5a87fb",
"rgb": {
"r": 90,
"g": 135,
"b": 251
},
"hsl": {
"h": 223.23,
"s": 95.266,
"l": 66.863
},
"oklch": {
"l": 0.64921,
"c": 0.17946,
"h": 265.7
},
"luminance": 0.26467
}Semantic roles & 50–950 ramp
primary
#5A87FB
secondary
#F2E4BF
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86