#5A84F2#5A84F2
#5A84F2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.7% C 0.171 H 266.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A84F2 |
|---|---|
| RGB | rgb(90, 132, 242) |
| HSL | hsl(223, 85%, 65%) |
| HSV | hsv(223, 63%, 95%) |
| CMYK | cmyk(62.8%, 45.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.16, 19.28, -59.69) |
| CIE-LCH | lch(57.16, 62.73, 287.91°) |
| OKLab | oklab(63.74% -0.0119 -0.1706) |
| OKLCH | oklch(63.74% 0.171 266) |
| XYZ | xyz(28.4892, 25.0844, 87.3276) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.71
Dodger Blue
#3E82FC
ΔE00 2.84
Lightish Blue
#3D7AFD
ΔE00 3.72
Clear Blue
#247AFD
ΔE00 4.80
Cornflower
#6A79F7
ΔE00 5.27
Cornflowerblue
#6495ED
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A84F2 #F2C85A
analogous
#5AD0F2 #5A84F2 #7C5AF2
triadic
#5A84F2 #F25A84 #84F25A
tetradic
#5A84F2 #F25AD0 #F2C85A #5AF27C
square
#5A84F2 #F25AD0 #F2C85A #5AF27C
split-complementary
#5A84F2 #F27C5A #D0F25A
monochromatic
#0F41C2 #215AEE #5A84F2 #93AEF6 #CBD9FB
Accessibility & contrast
On white
3.49
#5A84F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#5A84F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A84F2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A84F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A84F2 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#3483F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a84f2; /* rgb */ color: rgb(90, 132, 242); /* oklch */ color: oklch(63.7% 0.171 266.0);
Tailwind
colors: {
custom: {
50: '#96a7f7',
500: '#5a84f2',
950: '#000000',
},
}SCSS
$custom: #5a84f2; $custom-light: #96a7f7; $custom-dark: #000000;
JSON
{
"hex": "#5a84f2",
"rgb": {
"r": 90,
"g": 132,
"b": 242
},
"hsl": {
"h": 223.421,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.63742,
"c": 0.17101,
"h": 266
},
"luminance": 0.25087
}Semantic roles & 50–950 ramp
primary
#5A84F2
secondary
#EEDFBA
accent
#A404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85