#5A82EF#5A82EF
#5A82EF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.1% C 0.169 H 266.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A82EF |
|---|---|
| RGB | rgb(90, 130, 239) |
| HSL | hsl(224, 82%, 65%) |
| HSV | hsv(224, 62%, 94%) |
| CMYK | cmyk(62.3%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.45, 19.49, -59.15) |
| CIE-LCH | lch(56.45, 62.28, 288.24°) |
| OKLab | oklab(63.15% -0.0105 -0.169) |
| OKLCH | oklch(63.15% 0.169 266.5) |
| XYZ | xyz(27.7737, 24.3684, 84.8846) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.07
Dodger Blue
#3E82FC
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 3.39
Clear Blue
#247AFD
ΔE00 4.59
Cornflower
#6A79F7
ΔE00 4.83
Azure
#007FFF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A82EF #EFC75A
analogous
#5ACCEF #5A82EF #7D5AEF
triadic
#5A82EF #EF5A82 #82EF5A
tetradic
#5A82EF #EF5ACC #EFC75A #5AEF7D
square
#5A82EF #EF5ACC #EFC75A #5AEF7D
split-complementary
#5A82EF #EF7D5A #CCEF5A
monochromatic
#1240BC #2258EA #5A82EF #92ACF4 #CAD7FA
Accessibility & contrast
On white
3.57
#5A82EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5A82EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A82EF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A82EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A82EF | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3381ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5a82ef; /* rgb */ color: rgb(90, 130, 239); /* oklch */ color: oklch(63.1% 0.169 266.5);
Tailwind
colors: {
custom: {
50: '#96a5f5',
500: '#5a82ef',
950: '#000000',
},
}SCSS
$custom: #5a82ef; $custom-light: #96a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5a82ef",
"rgb": {
"r": 90,
"g": 130,
"b": 239
},
"hsl": {
"h": 223.893,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.63148,
"c": 0.16935,
"h": 266.5
},
"luminance": 0.24371
}Semantic roles & 50–950 ramp
primary
#5A82EF
secondary
#ECDEB9
accent
#A507DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85