#5A8AFA#5A8AFA
#5A8AFA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.5% C 0.175 H 264.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8AFA |
|---|---|
| RGB | rgb(90, 138, 250) |
| HSL | hsl(222, 94%, 67%) |
| HSV | hsv(222, 64%, 98%) |
| CMYK | cmyk(64%, 44.8%, 0%, 2%) |
| CIE-LAB | lab(59.20, 18.36, -60.82) |
| CIE-LCH | lch(59.20, 63.53, 286.79°) |
| OKLab | oklab(65.46% -0.0164 -0.1738) |
| OKLCH | oklch(65.46% 0.175 264.6) |
| XYZ | xyz(30.5542, 27.2499, 94.0735) |
| Luminance | 0.2725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.23
Dodger Blue
#3E82FC
ΔE00 3.28
Cornflowerblue
#6495ED
ΔE00 3.59
Lightish Blue
#3D7AFD
ΔE00 5.20
Dark Sky Blue
#448EE4
ΔE00 5.45
Azure
#007FFF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8AFA #FACA5A
analogous
#5ADAFA #5A8AFA #7A5AFA
triadic
#5A8AFA #FA5A8A #8AFA5A
tetradic
#5A8AFA #FA5ADA #FACA5A #5AFA7A
square
#5A8AFA #FA5ADA #FACA5A #5AFA7A
split-complementary
#5A8AFA #FA7A5A #DAFA5A
monochromatic
#0644D3 #1F60F8 #5A8AFA #95B4FC #D1DEFE
Accessibility & contrast
On white
3.26
#5A8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#5A8AFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A8AFA
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8AFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A8AFA | 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)
#5396FE
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a8afa; /* rgb */ color: rgb(90, 138, 250); /* oklch */ color: oklch(65.5% 0.175 264.6);
Tailwind
colors: {
custom: {
50: '#97abfc',
500: '#5a8afa',
950: '#000000',
},
}SCSS
$custom: #5a8afa; $custom-light: #97abfc; $custom-dark: #000000;
JSON
{
"hex": "#5a8afa",
"rgb": {
"r": 90,
"g": 138,
"b": 250
},
"hsl": {
"h": 222,
"s": 94.118,
"l": 66.667
},
"oklch": {
"l": 0.65461,
"c": 0.17462,
"h": 264.6
},
"luminance": 0.27253
}Semantic roles & 50–950 ramp
primary
#5A8AFA
secondary
#F2E2BE
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86