#5A8FE7#5A8FE7
#5A8FE7 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.144 H 260.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8FE7 |
|---|---|
| RGB | rgb(90, 143, 231) |
| HSL | hsl(217, 75%, 63%) |
| HSV | hsv(217, 61%, 91%) |
| CMYK | cmyk(61%, 38.1%, 0%, 9.4%) |
| CIE-LAB | lab(59.51, 9.01, -49.83) |
| CIE-LCH | lch(59.51, 50.64, 280.25°) |
| OKLab | oklab(65.36% -0.0249 -0.1415) |
| OKLCH | oklch(65.36% 0.144 260) |
| XYZ | xyz(28.4576, 27.5855, 79.4107) |
| Luminance | 0.2759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.15
Dark Sky Blue
#448EE4
ΔE00 3.15
Soft Blue
#6488EA
ΔE00 3.63
Dodger Blue
#3E82FC
ΔE00 4.43
Dodgerblue
#1E90FF
ΔE00 4.60
Faded Blue
#658CBB
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8FE7 #E7B25A
analogous
#5AD5E7 #5A8FE7 #6B5AE7
triadic
#5A8FE7 #E75A8F #8FE75A
tetradic
#5A8FE7 #E75AD5 #E7B25A #5AE76B
square
#5A8FE7 #E75AD5 #E7B25A #5AE76B
split-complementary
#5A8FE7 #E76B5A #D5E75A
monochromatic
#1951AD #256BDF #5A8FE7 #8FB3EF #C5D8F7
Accessibility & contrast
On white
3.22
#5A8FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#5A8FE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8FE7
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8FE7 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6996EB
Deuteranopia (green-blind)
#5589E5
Tritanopia (blue-blind)
#00A3B0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5a8fe7; /* rgb */ color: rgb(90, 143, 231); /* oklch */ color: oklch(65.4% 0.144 260.0);
Tailwind
colors: {
custom: {
50: '#94afef',
500: '#5a8fe7',
950: '#000000',
},
}SCSS
$custom: #5a8fe7; $custom-light: #94afef; $custom-dark: #000000;
JSON
{
"hex": "#5a8fe7",
"rgb": {
"r": 90,
"g": 143,
"b": 231
},
"hsl": {
"h": 217.447,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.65362,
"c": 0.14372,
"h": 260
},
"luminance": 0.27588
}Semantic roles & 50–950 ramp
primary
#5A8FE7
secondary
#E8D5B5
accent
#8C0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84