#5A7AE8#5A7AE8
#5A7AE8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.170 H 268.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7AE8 |
|---|---|
| RGB | rgb(90, 122, 232) |
| HSL | hsl(226, 76%, 63%) |
| HSV | hsv(226, 61%, 91%) |
| CMYK | cmyk(61.2%, 47.4%, 0%, 9%) |
| CIE-LAB | lab(53.94, 22.02, -59.29) |
| CIE-LCH | lch(53.94, 63.24, 290.37°) |
| OKLab | oklab(61.09% -0.0036 -0.1695) |
| OKLCH | oklch(61.09% 0.17 268.8) |
| XYZ | xyz(25.7365, 21.9167, 79.2024) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.40
Cornflower
#6A79F7
ΔE00 3.60
Cornflower Blue
#5170D7
ΔE00 4.18
Soft Blue
#6488EA
ΔE00 4.52
Clear Blue
#247AFD
ΔE00 4.87
Dodger Blue
#3E82FC
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7AE8 #E8C85A
analogous
#5AC1E8 #5A7AE8 #815AE8
triadic
#5A7AE8 #E85A7A #7AE85A
tetradic
#5A7AE8 #E85AC1 #E8C85A #5AE881
square
#5A7AE8 #E85AC1 #E8C85A #5AE881
split-complementary
#5A7AE8 #E8815A #C1E85A
monochromatic
#183AAF #244FE1 #5A7AE8 #90A5EF #C5D1F7
Accessibility & contrast
On white
3.90
#5A7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#5A7AE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7AE8
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7AE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7AE8 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4288EC
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a7ae8; /* rgb */ color: rgb(90, 122, 232); /* oklch */ color: oklch(61.1% 0.170 268.8);
Tailwind
colors: {
custom: {
50: '#95a0f0',
500: '#5a7ae8',
950: '#000000',
},
}SCSS
$custom: #5a7ae8; $custom-light: #95a0f0; $custom-dark: #000000;
JSON
{
"hex": "#5a7ae8",
"rgb": {
"r": 90,
"g": 122,
"b": 232
},
"hsl": {
"h": 226.479,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.61093,
"c": 0.16957,
"h": 268.8
},
"luminance": 0.21919
}Semantic roles & 50–950 ramp
primary
#5A7AE8
secondary
#E8DDB5
accent
#AA0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85