#5A81EF#5A81EF
#5A81EF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.171 H 266.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5A81EF |
|---|---|
| RGB | rgb(90, 129, 239) |
| HSL | hsl(224, 82%, 65%) |
| HSV | hsv(224, 62%, 94%) |
| CMYK | cmyk(62.3%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(56.19, 20.10, -59.57) |
| CIE-LCH | lch(56.19, 62.87, 288.64°) |
| OKLab | oklab(62.95% -0.0095 -0.1703) |
| OKLCH | oklch(62.95% 0.171 266.8) |
| XYZ | xyz(27.6414, 24.1037, 84.8404) |
| Luminance | 0.2411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.33
Dodger Blue
#3E82FC
ΔE00 3.19
Lightish Blue
#3D7AFD
ΔE00 3.24
Clear Blue
#247AFD
ΔE00 4.53
Cornflower
#6A79F7
ΔE00 4.55
Azure
#007FFF
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A81EF #EFC85A
analogous
#5ACCEF #5A81EF #7E5AEF
triadic
#5A81EF #EF5A81 #81EF5A
tetradic
#5A81EF #EF5ACC #EFC85A #5AEF7E
square
#5A81EF #EF5ACC #EFC85A #5AEF7E
split-complementary
#5A81EF #EF7E5A #CCEF5A
monochromatic
#123FBC #2256EA #5A81EF #92ACF4 #CAD6FA
Accessibility & contrast
On white
3.61
#5A81EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#5A81EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A81EF
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A81EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A81EF | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#3080ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5a81ef; /* rgb */ color: rgb(90, 129, 239); /* oklch */ color: oklch(62.9% 0.171 266.8);
Tailwind
colors: {
custom: {
50: '#96a5f5',
500: '#5a81ef',
950: '#000000',
},
}SCSS
$custom: #5a81ef; $custom-light: #96a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5a81ef",
"rgb": {
"r": 90,
"g": 129,
"b": 239
},
"hsl": {
"h": 224.295,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.62947,
"c": 0.17055,
"h": 266.8
},
"luminance": 0.24106
}Semantic roles & 50–950 ramp
primary
#5A81EF
secondary
#ECDFB9
accent
#A607DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85