#5A87FE#5A87FE
#5A87FE is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.183 H 265.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87FE |
|---|---|
| RGB | rgb(90, 135, 254) |
| HSL | hsl(224, 99%, 67%) |
| HSV | hsv(224, 65%, 100%) |
| CMYK | cmyk(64.6%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(58.65, 21.52, -63.91) |
| CIE-LCH | lch(58.65, 67.43, 288.61°) |
| OKLab | oklab(65.11% -0.0131 -0.183) |
| OKLCH | oklch(65.11% 0.183 265.9) |
| XYZ | xyz(30.7636, 26.6545, 97.2703) |
| Luminance | 0.2666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.28
Dodger Blue
#3E82FC
ΔE00 3.18
Lightish Blue
#3D7AFD
ΔE00 4.51
Cornflowerblue
#6495ED
ΔE00 4.68
Clear Blue
#247AFD
ΔE00 5.53
Azure
#007FFF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87FE #FED15A
analogous
#5AD9FE #5A87FE #7F5AFE
triadic
#5A87FE #FE5A87 #87FE5A
tetradic
#5A87FE #FE5AD9 #FED15A #5AFE7F
square
#5A87FE #FE5AD9 #FED15A #5AFE7F
split-complementary
#5A87FE #FE7F5A #D9FE5A
monochromatic
#013DDC #1D5BFE #5A87FE #97B3FE #D4DFFF
Accessibility & contrast
On white
3.32
#5A87FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#5A87FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87FE
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87FE | 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)
#4995FF
Deuteranopia (green-blind)
#2786FC
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a87fe; /* rgb */ color: rgb(90, 135, 254); /* oklch */ color: oklch(65.1% 0.183 265.9);
Tailwind
colors: {
custom: {
50: '#98a9ff',
500: '#5a87fe',
950: '#000000',
},
}SCSS
$custom: #5a87fe; $custom-light: #98a9ff; $custom-dark: #000000;
JSON
{
"hex": "#5a87fe",
"rgb": {
"r": 90,
"g": 135,
"b": 254
},
"hsl": {
"h": 223.537,
"s": 98.795,
"l": 67.451
},
"oklch": {
"l": 0.65114,
"c": 0.18343,
"h": 265.9
},
"luminance": 0.26657
}Semantic roles & 50–950 ramp
primary
#5A87FE
secondary
#F4E5C0
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86