#5A7AE7#5A7AE7
#5A7AE7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.168 H 268.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7AE7 |
|---|---|
| RGB | rgb(90, 122, 231) |
| HSL | hsl(226, 75%, 63%) |
| HSV | hsv(226, 61%, 91%) |
| CMYK | cmyk(61%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(53.88, 21.68, -58.82) |
| CIE-LCH | lch(53.88, 62.69, 290.23°) |
| OKLab | oklab(61.03% -0.0038 -0.1682) |
| OKLCH | oklch(61.03% 0.168 268.7) |
| XYZ | xyz(25.5949, 21.8601, 78.4564) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.45
Cornflower
#6A79F7
ΔE00 3.69
Cornflower Blue
#5170D7
ΔE00 4.11
Soft Blue
#6488EA
ΔE00 4.53
Clear Blue
#247AFD
ΔE00 4.88
Dodger Blue
#3E82FC
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7AE7 #E7C75A
analogous
#5AC0E7 #5A7AE7 #805AE7
triadic
#5A7AE7 #E75A7A #7AE75A
tetradic
#5A7AE7 #E75AC0 #E7C75A #5AE780
square
#5A7AE7 #E75AC0 #E7C75A #5AE780
split-complementary
#5A7AE7 #E7805A #C0E75A
monochromatic
#193BAD #254FDF #5A7AE7 #8FA5EF #C5D0F7
Accessibility & contrast
On white
3.91
#5A7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5A7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7AE7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7AE7 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a7ae7; /* rgb */ color: rgb(90, 122, 231); /* oklch */ color: oklch(61.0% 0.168 268.7);
Tailwind
colors: {
custom: {
50: '#95a0ef',
500: '#5a7ae7',
950: '#000000',
},
}SCSS
$custom: #5a7ae7; $custom-light: #95a0ef; $custom-dark: #000000;
JSON
{
"hex": "#5a7ae7",
"rgb": {
"r": 90,
"g": 122,
"b": 231
},
"hsl": {
"h": 226.383,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.61028,
"c": 0.16821,
"h": 268.7
},
"luminance": 0.21862
}Semantic roles & 50–950 ramp
primary
#5A7AE7
secondary
#E8DCB5
accent
#A90FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84