#5A8FE1#5A8FE1
#5A8FE1 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.0% C 0.136 H 258.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8FE1 |
|---|---|
| RGB | rgb(90, 143, 225) |
| HSL | hsl(216, 69%, 62%) |
| HSV | hsv(216, 60%, 88%) |
| CMYK | cmyk(60%, 36.4%, 0%, 11.8%) |
| CIE-LAB | lab(59.21, 7.03, -46.98) |
| CIE-LCH | lch(59.21, 47.50, 278.51°) |
| OKLab | oklab(65.03% -0.0263 -0.1332) |
| OKLCH | oklch(65.03% 0.136 258.8) |
| XYZ | xyz(27.6247, 27.2524, 75.0240) |
| Luminance | 0.2726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.51
Dark Sky Blue
#448EE4
ΔE00 2.78
Soft Blue
#6488EA
ΔE00 3.94
Faded Blue
#658CBB
ΔE00 4.28
Dodgerblue
#1E90FF
ΔE00 4.50
Dodger Blue
#3E82FC
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8FE1 #E1AC5A
analogous
#5AD3E1 #5A8FE1 #685AE1
triadic
#5A8FE1 #E15A8F #8FE15A
tetradic
#5A8FE1 #E15AD3 #E1AC5A #5AE168
square
#5A8FE1 #E15AD3 #E1AC5A #5AE168
split-complementary
#5A8FE1 #E1685A #D3E15A
monochromatic
#1E52A3 #276CD7 #5A8FE1 #8EB2EA #C2D5F4
Accessibility & contrast
On white
3.26
#5A8FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#5A8FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8FE1
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8FE1 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C95E4
Deuteranopia (green-blind)
#5A89DF
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a8fe1; /* rgb */ color: rgb(90, 143, 225); /* oklch */ color: oklch(65.0% 0.136 258.8);
Tailwind
colors: {
custom: {
50: '#93afeb',
500: '#5a8fe1',
950: '#000000',
},
}SCSS
$custom: #5a8fe1; $custom-light: #93afeb; $custom-dark: #000000;
JSON
{
"hex": "#5a8fe1",
"rgb": {
"r": 90,
"g": 143,
"b": 225
},
"hsl": {
"h": 216.444,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.65025,
"c": 0.13577,
"h": 258.8
},
"luminance": 0.27255
}Semantic roles & 50–950 ramp
primary
#5A8FE1
secondary
#E4D1B2
accent
#8714D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84