#5A8FF2#5A8FF2
#5A8FF2 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.158 H 261.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8FF2 |
|---|---|
| RGB | rgb(90, 143, 242) |
| HSL | hsl(219, 85%, 65%) |
| HSV | hsv(219, 63%, 95%) |
| CMYK | cmyk(62.8%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(60.09, 12.67, -55.00) |
| CIE-LCH | lch(60.09, 56.44, 282.98°) |
| OKLab | oklab(66% -0.0226 -0.1567) |
| OKLCH | oklch(66% 0.158 261.8) |
| XYZ | xyz(30.0603, 28.2266, 87.8513) |
| Luminance | 0.2823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.90
Soft Blue
#6488EA
ΔE00 3.34
Dark Sky Blue
#448EE4
ΔE00 3.98
Dodger Blue
#3E82FC
ΔE00 4.22
Dodgerblue
#1E90FF
ΔE00 4.95
Faded Blue
#658CBB
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8FF2 #F2BD5A
analogous
#5ADBF2 #5A8FF2 #715AF2
triadic
#5A8FF2 #F25A8F #8FF25A
tetradic
#5A8FF2 #F25ADB #F2BD5A #5AF271
square
#5A8FF2 #F25ADB #F2BD5A #5AF271
split-complementary
#5A8FF2 #F2715A #DBF25A
monochromatic
#0F4EC2 #2168EE #5A8FF2 #93B6F6 #CBDCFB
Accessibility & contrast
On white
3.16
#5A8FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#5A8FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8FF2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8FF2 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5a8ff2; /* rgb */ color: rgb(90, 143, 242); /* oklch */ color: oklch(66.0% 0.158 261.8);
Tailwind
colors: {
custom: {
50: '#96aff7',
500: '#5a8ff2',
950: '#000000',
},
}SCSS
$custom: #5a8ff2; $custom-light: #96aff7; $custom-dark: #000000;
JSON
{
"hex": "#5a8ff2",
"rgb": {
"r": 90,
"g": 143,
"b": 242
},
"hsl": {
"h": 219.079,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.66,
"c": 0.15829,
"h": 261.8
},
"luminance": 0.28229
}Semantic roles & 50–950 ramp
primary
#5A8FF2
secondary
#EEDCBA
accent
#9404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85