#5A82F6#5A82F6
#5A82F6 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.179 H 267.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A82F6 |
|---|---|
| RGB | rgb(90, 130, 246) |
| HSL | hsl(225, 90%, 66%) |
| HSV | hsv(225, 63%, 96%) |
| CMYK | cmyk(63.4%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(56.87, 21.84, -62.36) |
| CIE-LCH | lch(56.87, 66.08, 289.30°) |
| OKLab | oklab(63.6% -0.0095 -0.1785) |
| OKLCH | oklch(63.6% 0.179 267) |
| XYZ | xyz(28.8279, 24.7901, 90.4367) |
| Luminance | 0.2479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.31
Dodger Blue
#3E82FC
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.35
Cornflower
#6A79F7
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 4.71
Azure
#007FFF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A82F6 #F6CE5A
analogous
#5AD0F6 #5A82F6 #805AF6
triadic
#5A82F6 #F65A82 #82F65A
tetradic
#5A82F6 #F65AD0 #F6CE5A #5AF680
square
#5A82F6 #F65AD0 #F6CE5A #5AF680
split-complementary
#5A82F6 #F6805A #D0F65A
monochromatic
#0B3CCB #2056F3 #5A82F6 #94AEF9 #CEDAFC
Accessibility & contrast
On white
3.52
#5A82F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#5A82F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A82F6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A82F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A82F6 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#2682F4
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5a82f6; /* rgb */ color: rgb(90, 130, 246); /* oklch */ color: oklch(63.6% 0.179 267.0);
Tailwind
colors: {
custom: {
50: '#97a5fa',
500: '#5a82f6',
950: '#000000',
},
}SCSS
$custom: #5a82f6; $custom-light: #97a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5a82f6",
"rgb": {
"r": 90,
"g": 130,
"b": 246
},
"hsl": {
"h": 224.615,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.63599,
"c": 0.17873,
"h": 267
},
"luminance": 0.24793
}Semantic roles & 50–950 ramp
primary
#5A82F6
secondary
#F0E2BC
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85