#5A7EE8#5A7EE8
#5A7EE8 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.9% C 0.165 H 267.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EE8 |
|---|---|
| RGB | rgb(90, 126, 232) |
| HSL | hsl(225, 76%, 63%) |
| HSV | hsv(225, 61%, 91%) |
| CMYK | cmyk(61.2%, 45.7%, 0%, 9%) |
| CIE-LAB | lab(54.99, 19.57, -57.60) |
| CIE-LCH | lch(54.99, 60.84, 288.77°) |
| OKLab | oklab(61.9% -0.0076 -0.1645) |
| OKLCH | oklch(61.9% 0.165 267.4) |
| XYZ | xyz(26.2378, 22.9193, 79.3695) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.23
Soft Blue
#6488EA
ΔE00 3.24
Dodger Blue
#3E82FC
ΔE00 3.92
Cornflower
#6A79F7
ΔE00 4.28
Clear Blue
#247AFD
ΔE00 4.54
Cornflower Blue
#5170D7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EE8 #E8C45A
analogous
#5AC5E8 #5A7EE8 #7D5AE8
triadic
#5A7EE8 #E85A7E #7EE85A
tetradic
#5A7EE8 #E85AC5 #E8C45A #5AE87D
square
#5A7EE8 #E85AC5 #E8C45A #5AE87D
split-complementary
#5A7EE8 #E87D5A #C5E85A
monochromatic
#183FAF #2454E1 #5A7EE8 #90A8EF #C5D2F7
Accessibility & contrast
On white
3.76
#5A7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#5A7EE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EE8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EE8 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#337EE6
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a7ee8; /* rgb */ color: rgb(90, 126, 232); /* oklch */ color: oklch(61.9% 0.165 267.4);
Tailwind
colors: {
custom: {
50: '#95a2f0',
500: '#5a7ee8',
950: '#000000',
},
}SCSS
$custom: #5a7ee8; $custom-light: #95a2f0; $custom-dark: #000000;
JSON
{
"hex": "#5a7ee8",
"rgb": {
"r": 90,
"g": 126,
"b": 232
},
"hsl": {
"h": 224.789,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.61895,
"c": 0.1647,
"h": 267.4
},
"luminance": 0.22922
}Semantic roles & 50–950 ramp
primary
#5A7EE8
secondary
#E8DBB5
accent
#A50ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85