#5A8EFD#5A8EFD
#5A8EFD is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.5% C 0.174 H 263.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8EFD |
|---|---|
| RGB | rgb(90, 142, 253) |
| HSL | hsl(221, 98%, 67%) |
| HSV | hsv(221, 64%, 99%) |
| CMYK | cmyk(64.4%, 43.9%, 0%, 0.8%) |
| CIE-LAB | lab(60.43, 16.97, -60.50) |
| CIE-LCH | lch(60.43, 62.84, 285.67°) |
| OKLab | oklab(66.46% -0.0197 -0.1728) |
| OKLCH | oklch(66.46% 0.174 263.5) |
| XYZ | xyz(31.6129, 28.6085, 96.7655) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.58
Soft Blue
#6488EA
ΔE00 3.23
Dodger Blue
#3E82FC
ΔE00 4.11
Dark Sky Blue
#448EE4
ΔE00 5.04
Dodgerblue
#1E90FF
ΔE00 5.69
Azure
#007FFF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8EFD #FDC95A
analogous
#5ADFFD #5A8EFD #785AFD
triadic
#5A8EFD #FD5A8E #8EFD5A
tetradic
#5A8EFD #FD5ADF #FDC95A #5AFD78
square
#5A8EFD #FD5ADF #FDC95A #5AFD78
split-complementary
#5A8EFD #FD785A #DFFD5A
monochromatic
#0347DA #1E65FC #5A8EFD #96B7FE #D3E1FE
Accessibility & contrast
On white
3.12
#5A8EFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#5A8EFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8EFD
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8EFD | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5a8efd; /* rgb */ color: rgb(90, 142, 253); /* oklch */ color: oklch(66.5% 0.174 263.5);
Tailwind
colors: {
custom: {
50: '#98aeff',
500: '#5a8efd',
950: '#000000',
},
}SCSS
$custom: #5a8efd; $custom-light: #98aeff; $custom-dark: #000000;
JSON
{
"hex": "#5a8efd",
"rgb": {
"r": 90,
"g": 142,
"b": 253
},
"hsl": {
"h": 220.859,
"s": 97.605,
"l": 67.255
},
"oklch": {
"l": 0.66461,
"c": 0.17397,
"h": 263.5
},
"luminance": 0.28612
}Semantic roles & 50–950 ramp
primary
#5A8EFD
secondary
#F3E3C0
accent
#9C00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86