#5A87F4#5A87F4
#5A87F4 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.170 H 265.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87F4 |
|---|---|
| RGB | rgb(90, 135, 244) |
| HSL | hsl(222, 88%, 65%) |
| HSV | hsv(222, 63%, 96%) |
| CMYK | cmyk(63.1%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(58.07, 18.14, -59.34) |
| CIE-LCH | lch(58.07, 62.05, 287.00°) |
| OKLab | oklab(64.48% -0.0145 -0.1695) |
| OKLCH | oklch(64.48% 0.17 265.1) |
| XYZ | xyz(29.2039, 26.0306, 89.0558) |
| Luminance | 0.2603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.58
Dodger Blue
#3E82FC
ΔE00 2.84
Cornflowerblue
#6495ED
ΔE00 4.39
Lightish Blue
#3D7AFD
ΔE00 4.40
Clear Blue
#247AFD
ΔE00 5.24
Azure
#007FFF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87F4 #F4C75A
analogous
#5AD4F4 #5A87F4 #7A5AF4
triadic
#5A87F4 #F45A87 #87F45A
tetradic
#5A87F4 #F45AD4 #F4C75A #5AF47A
square
#5A87F4 #F45AD4 #F4C75A #5AF47A
split-complementary
#5A87F4 #F47A5A #D4F45A
monochromatic
#0D43C6 #215DF0 #5A87F4 #93B1F8 #CDDAFC
Accessibility & contrast
On white
3.38
#5A87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#5A87F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87F4
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87F4 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5a87f4; /* rgb */ color: rgb(90, 135, 244); /* oklch */ color: oklch(64.5% 0.170 265.1);
Tailwind
colors: {
custom: {
50: '#96a9f8',
500: '#5a87f4',
950: '#000000',
},
}SCSS
$custom: #5a87f4; $custom-light: #96a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5a87f4",
"rgb": {
"r": 90,
"g": 135,
"b": 244
},
"hsl": {
"h": 222.468,
"s": 87.5,
"l": 65.49
},
"oklch": {
"l": 0.64476,
"c": 0.17014,
"h": 265.1
},
"luminance": 0.26033
}Semantic roles & 50–950 ramp
primary
#5A87F4
secondary
#EFE0BB
accent
#A201E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85