#5A81FF#5A81FF
#5A81FF is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.0% C 0.192 H 267.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A81FF |
|---|---|
| RGB | rgb(90, 129, 255) |
| HSL | hsl(226, 100%, 68%) |
| HSV | hsv(226, 65%, 100%) |
| CMYK | cmyk(64.7%, 49.4%, 0%, 0%) |
| CIE-LAB | lab(57.16, 25.49, -66.85) |
| CIE-LCH | lch(57.16, 71.55, 290.87°) |
| OKLab | oklab(64% -0.0075 -0.1917) |
| OKLCH | oklch(64% 0.192 267.8) |
| XYZ | xyz(30.1105, 25.0914, 97.8447) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.14
Lightish Blue
#3D7AFD
ΔE00 3.47
Dodger Blue
#3E82FC
ΔE00 3.61
Cornflower
#6A79F7
ΔE00 4.03
Clear Blue
#247AFD
ΔE00 5.02
Azure
#007FFF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A81FF #FFD85A
analogous
#5AD4FF #5A81FF #855AFF
triadic
#5A81FF #FF5A81 #81FF5A
tetradic
#5A81FF #FF5AD4 #FFD85A #5AFF85
square
#5A81FF #FF5AD4 #FFD85A #5AFF85
split-complementary
#5A81FF #FF855A #D4FF5A
monochromatic
#0035DF #1D52FF #5A81FF #97B0FF #D4DEFF
Accessibility & contrast
On white
3.49
#5A81FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#5A81FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A81FF
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A81FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A81FF | 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)
#3A91FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#009EB4
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a81ff; /* rgb */ color: rgb(90, 129, 255); /* oklch */ color: oklch(64.0% 0.192 267.8);
Tailwind
colors: {
custom: {
50: '#98a5ff',
500: '#5a81ff',
950: '#000000',
},
}SCSS
$custom: #5a81ff; $custom-light: #98a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5a81ff",
"rgb": {
"r": 90,
"g": 129,
"b": 255
},
"hsl": {
"h": 225.818,
"s": 100,
"l": 67.647
},
"oklch": {
"l": 0.64,
"c": 0.19186,
"h": 267.8
},
"luminance": 0.25094
}Semantic roles & 50–950 ramp
primary
#5A81FF
secondary
#F4E8C1
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86