#5A82F2#5A82F2
#5A82F2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.3% C 0.173 H 266.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5A82F2 |
|---|---|
| RGB | rgb(90, 130, 242) |
| HSL | hsl(224, 85%, 65%) |
| HSV | hsv(224, 63%, 95%) |
| CMYK | cmyk(62.8%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(56.63, 20.50, -60.53) |
| CIE-LCH | lch(56.63, 63.91, 288.71°) |
| OKLab | oklab(63.34% -0.01 -0.1731) |
| OKLCH | oklch(63.34% 0.173 266.7) |
| XYZ | xyz(28.2206, 24.5472, 87.2381) |
| Luminance | 0.2455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.14
Dodger Blue
#3E82FC
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 3.35
Clear Blue
#247AFD
ΔE00 4.62
Cornflower
#6A79F7
ΔE00 4.68
Azure
#007FFF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A82F2 #F2CA5A
analogous
#5ACEF2 #5A82F2 #7E5AF2
triadic
#5A82F2 #F25A82 #82F25A
tetradic
#5A82F2 #F25ACE #F2CA5A #5AF27E
square
#5A82F2 #F25ACE #F2CA5A #5AF27E
split-complementary
#5A82F2 #F27E5A #CEF25A
monochromatic
#0F3EC2 #2157EE #5A82F2 #93ADF6 #CBD8FB
Accessibility & contrast
On white
3.55
#5A82F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#5A82F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A82F2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A82F2 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#2E81F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5a82f2; /* rgb */ color: rgb(90, 130, 242); /* oklch */ color: oklch(63.3% 0.173 266.7);
Tailwind
colors: {
custom: {
50: '#96a5f7',
500: '#5a82f2',
950: '#000000',
},
}SCSS
$custom: #5a82f2; $custom-light: #96a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5a82f2",
"rgb": {
"r": 90,
"g": 130,
"b": 242
},
"hsl": {
"h": 224.211,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.6334,
"c": 0.17338,
"h": 266.7
},
"luminance": 0.2455
}Semantic roles & 50–950 ramp
primary
#5A82F2
secondary
#EEE0BA
accent
#A704E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85