#5A8FE2#5A8FE2
#5A8FE2 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.1% C 0.137 H 259.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8FE2 |
|---|---|
| RGB | rgb(90, 143, 226) |
| HSL | hsl(217, 70%, 62%) |
| HSV | hsv(217, 60%, 89%) |
| CMYK | cmyk(60.2%, 36.7%, 0%, 11.4%) |
| CIE-LAB | lab(59.26, 7.36, -47.46) |
| CIE-LCH | lch(59.26, 48.03, 278.81°) |
| OKLab | oklab(65.08% -0.026 -0.1346) |
| OKLCH | oklch(65.08% 0.137 259) |
| XYZ | xyz(27.7615, 27.3071, 75.7446) |
| Luminance | 0.2731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.44
Dark Sky Blue
#448EE4
ΔE00 2.84
Soft Blue
#6488EA
ΔE00 3.88
Faded Blue
#658CBB
ΔE00 4.35
Dodgerblue
#1E90FF
ΔE00 4.51
Dodger Blue
#3E82FC
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8FE2 #E2AD5A
analogous
#5AD3E2 #5A8FE2 #695AE2
triadic
#5A8FE2 #E25A8F #8FE25A
tetradic
#5A8FE2 #E25AD3 #E2AD5A #5AE269
square
#5A8FE2 #E25AD3 #E2AD5A #5AE269
split-complementary
#5A8FE2 #E2695A #D3E25A
monochromatic
#1D52A5 #266CD9 #5A8FE2 #8EB2EB #C2D6F4
Accessibility & contrast
On white
3.25
#5A8FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#5A8FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8FE2
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8FE2 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C96E5
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5a8fe2; /* rgb */ color: rgb(90, 143, 226); /* oklch */ color: oklch(65.1% 0.137 259.0);
Tailwind
colors: {
custom: {
50: '#93afeb',
500: '#5a8fe2',
950: '#000000',
},
}SCSS
$custom: #5a8fe2; $custom-light: #93afeb; $custom-dark: #000000;
JSON
{
"hex": "#5a8fe2",
"rgb": {
"r": 90,
"g": 143,
"b": 226
},
"hsl": {
"h": 216.618,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.65081,
"c": 0.13709,
"h": 259
},
"luminance": 0.2731
}Semantic roles & 50–950 ramp
primary
#5A8FE2
secondary
#E5D1B3
accent
#8813D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84