#5A84EF#5A84EF
#5A84EF is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.6% C 0.167 H 265.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5A84EF |
|---|---|
| RGB | rgb(90, 132, 239) |
| HSL | hsl(223, 82%, 65%) |
| HSV | hsv(223, 62%, 94%) |
| CMYK | cmyk(62.3%, 44.8%, 0%, 6.3%) |
| CIE-LAB | lab(56.98, 18.28, -58.30) |
| CIE-LCH | lch(56.98, 61.10, 287.40°) |
| OKLab | oklab(63.55% -0.0124 -0.1665) |
| OKLCH | oklch(63.55% 0.167 265.7) |
| XYZ | xyz(28.0423, 24.9057, 84.9741) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.64
Dodger Blue
#3E82FC
ΔE00 2.84
Lightish Blue
#3D7AFD
ΔE00 3.76
Clear Blue
#247AFD
ΔE00 4.76
Azure
#007FFF
ΔE00 5.31
Cornflowerblue
#6495ED
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A84EF #EFC55A
analogous
#5ACFEF #5A84EF #7B5AEF
triadic
#5A84EF #EF5A84 #84EF5A
tetradic
#5A84EF #EF5ACF #EFC55A #5AEF7B
square
#5A84EF #EF5ACF #EFC55A #5AEF7B
split-complementary
#5A84EF #EF7B5A #CFEF5A
monochromatic
#1242BC #225AEA #5A84EF #92AEF4 #CAD7FA
Accessibility & contrast
On white
3.51
#5A84EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#5A84EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A84EF
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A84EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A84EF | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#3882ED
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a84ef; /* rgb */ color: rgb(90, 132, 239); /* oklch */ color: oklch(63.6% 0.167 265.7);
Tailwind
colors: {
custom: {
50: '#96a7f5',
500: '#5a84ef',
950: '#000000',
},
}SCSS
$custom: #5a84ef; $custom-light: #96a7f5; $custom-dark: #000000;
JSON
{
"hex": "#5a84ef",
"rgb": {
"r": 90,
"g": 132,
"b": 239
},
"hsl": {
"h": 223.087,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.63553,
"c": 0.16698,
"h": 265.7
},
"luminance": 0.24908
}Semantic roles & 50–950 ramp
primary
#5A84EF
secondary
#ECDEB9
accent
#A207DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85