#5A81EA#5A81EA
#5A81EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.164 H 266.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5A81EA |
|---|---|
| RGB | rgb(90, 129, 234) |
| HSL | hsl(224, 77%, 64%) |
| HSV | hsv(224, 62%, 92%) |
| CMYK | cmyk(61.5%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(55.90, 18.42, -57.26) |
| CIE-LCH | lch(55.90, 60.15, 287.83°) |
| OKLab | oklab(62.63% -0.0102 -0.1635) |
| OKLCH | oklch(62.63% 0.164 266.4) |
| XYZ | xyz(26.9129, 23.8123, 81.0039) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.33
Dodger Blue
#3E82FC
ΔE00 3.27
Lightish Blue
#3D7AFD
ΔE00 3.38
Clear Blue
#247AFD
ΔE00 4.53
Cornflower
#6A79F7
ΔE00 4.86
Azure
#007FFF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A81EA #EAC35A
analogous
#5AC9EA #5A81EA #7B5AEA
triadic
#5A81EA #EA5A81 #81EA5A
tetradic
#5A81EA #EA5AC9 #EAC35A #5AEA7B
square
#5A81EA #EA5AC9 #EAC35A #5AEA7B
split-complementary
#5A81EA #EA7B5A #C9EA5A
monochromatic
#1741B3 #2458E3 #5A81EA #90AAF1 #C7D4F8
Accessibility & contrast
On white
3.64
#5A81EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#5A81EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A81EA
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A81EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A81EA | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a81ea; /* rgb */ color: rgb(90, 129, 234); /* oklch */ color: oklch(62.6% 0.164 266.4);
Tailwind
colors: {
custom: {
50: '#95a5f1',
500: '#5a81ea',
950: '#000000',
},
}SCSS
$custom: #5a81ea; $custom-light: #95a5f1; $custom-dark: #000000;
JSON
{
"hex": "#5a81ea",
"rgb": {
"r": 90,
"g": 129,
"b": 234
},
"hsl": {
"h": 223.75,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.62629,
"c": 0.16381,
"h": 266.4
},
"luminance": 0.23815
}Semantic roles & 50–950 ramp
primary
#5A81EA
secondary
#E9DCB6
accent
#A20CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85