#5A87FD#5A87FD
#5A87FD is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.182 H 265.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5A87FD |
|---|---|
| RGB | rgb(90, 135, 253) |
| HSL | hsl(223, 98%, 67%) |
| HSV | hsv(223, 64%, 99%) |
| CMYK | cmyk(64.4%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.59, 21.18, -63.45) |
| CIE-LCH | lch(58.59, 66.90, 288.46°) |
| OKLab | oklab(65.05% -0.0132 -0.1816) |
| OKLCH | oklch(65.05% 0.182 265.8) |
| XYZ | xyz(30.6039, 26.5906, 96.4291) |
| Luminance | 0.2659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.19
Dodger Blue
#3E82FC
ΔE00 3.13
Lightish Blue
#3D7AFD
ΔE00 4.49
Cornflowerblue
#6495ED
ΔE00 4.64
Clear Blue
#247AFD
ΔE00 5.49
Azure
#007FFF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A87FD #FDD05A
analogous
#5AD8FD #5A87FD #7F5AFD
triadic
#5A87FD #FD5A87 #87FD5A
tetradic
#5A87FD #FD5AD8 #FDD05A #5AFD7F
square
#5A87FD #FD5AD8 #FDD05A #5AFD7F
split-complementary
#5A87FD #FD7F5A #D8FD5A
monochromatic
#033EDA #1E5BFC #5A87FD #96B3FE #D3DFFE
Accessibility & contrast
On white
3.32
#5A87FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#5A87FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A87FD
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A87FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A87FD | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a87fd; /* rgb */ color: rgb(90, 135, 253); /* oklch */ color: oklch(65.0% 0.182 265.8);
Tailwind
colors: {
custom: {
50: '#98a9ff',
500: '#5a87fd',
950: '#000000',
},
}SCSS
$custom: #5a87fd; $custom-light: #98a9ff; $custom-dark: #000000;
JSON
{
"hex": "#5a87fd",
"rgb": {
"r": 90,
"g": 135,
"b": 253
},
"hsl": {
"h": 223.436,
"s": 97.605,
"l": 67.255
},
"oklch": {
"l": 0.6505,
"c": 0.18211,
"h": 265.8
},
"luminance": 0.26593
}Semantic roles & 50–950 ramp
primary
#5A87FD
secondary
#F3E5C0
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86