#5A87F1#5A87F1
#5A87F1 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.166 H 264.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87F1 |
|---|---|
| RGB | rgb(90, 135, 241) |
| HSL | hsl(222, 84%, 65%) |
| HSV | hsv(222, 63%, 95%) |
| CMYK | cmyk(62.7%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(57.89, 17.14, -57.95) |
| CIE-LCH | lch(57.89, 60.43, 286.47°) |
| OKLab | oklab(64.29% -0.015 -0.1655) |
| OKLCH | oklch(64.29% 0.166 264.8) |
| XYZ | xyz(28.7521, 25.8499, 86.6763) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.49
Dodger Blue
#3E82FC
ΔE00 2.82
Cornflowerblue
#6495ED
ΔE00 4.35
Lightish Blue
#3D7AFD
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 5.20
Azure
#007FFF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87F1 #F1C45A
analogous
#5AD3F1 #5A87F1 #785AF1
triadic
#5A87F1 #F15A87 #87F15A
tetradic
#5A87F1 #F15AD3 #F1C45A #5AF178
square
#5A87F1 #F15AD3 #F1C45A #5AF178
split-complementary
#5A87F1 #F1785A #D3F15A
monochromatic
#1045C0 #225EEC #5A87F1 #92B0F6 #CBD9FB
Accessibility & contrast
On white
3.40
#5A87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#5A87F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87F1
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87F1 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5592F5
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5a87f1; /* rgb */ color: rgb(90, 135, 241); /* oklch */ color: oklch(64.3% 0.166 264.8);
Tailwind
colors: {
custom: {
50: '#96a9f6',
500: '#5a87f1',
950: '#000000',
},
}SCSS
$custom: #5a87f1; $custom-light: #96a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5a87f1",
"rgb": {
"r": 90,
"g": 135,
"b": 241
},
"hsl": {
"h": 222.119,
"s": 84.358,
"l": 64.902
},
"oklch": {
"l": 0.64289,
"c": 0.16613,
"h": 264.8
},
"luminance": 0.25852
}Semantic roles & 50–950 ramp
primary
#5A87F1
secondary
#EDDEBA
accent
#9F05E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85