#5A7AE2#5A7AE2
#5A7AE2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.7% C 0.161 H 268.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7AE2 |
|---|---|
| RGB | rgb(90, 122, 226) |
| HSL | hsl(226, 70%, 62%) |
| HSV | hsv(226, 60%, 89%) |
| CMYK | cmyk(60.2%, 46%, 0%, 11.4%) |
| CIE-LAB | lab(53.58, 20.01, -56.50) |
| CIE-LCH | lch(53.58, 59.94, 289.50°) |
| OKLab | oklab(60.71% -0.0044 -0.1613) |
| OKLCH | oklch(60.71% 0.161 268.4) |
| XYZ | xyz(24.8988, 21.5816, 74.7903) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.75
Cornflower Blue
#5170D7
ΔE00 3.80
Cornflower
#6A79F7
ΔE00 4.18
Soft Blue
#6488EA
ΔE00 4.65
Clear Blue
#247AFD
ΔE00 5.01
Dodger Blue
#3E82FC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7AE2 #E2C25A
analogous
#5ABEE2 #5A7AE2 #7E5AE2
triadic
#5A7AE2 #E25A7A #7AE25A
tetradic
#5A7AE2 #E25ABE #E2C25A #5AE27E
square
#5A7AE2 #E25ABE #E2C25A #5AE27E
split-complementary
#5A7AE2 #E27E5A #BEE25A
monochromatic
#1D3DA5 #2650D9 #5A7AE2 #8EA4EB #C2CEF4
Accessibility & contrast
On white
3.95
#5A7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5A7AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7AE2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7AE2 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#327AE0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a7ae2; /* rgb */ color: rgb(90, 122, 226); /* oklch */ color: oklch(60.7% 0.161 268.4);
Tailwind
colors: {
custom: {
50: '#94a0ec',
500: '#5a7ae2',
950: '#000000',
},
}SCSS
$custom: #5a7ae2; $custom-light: #94a0ec; $custom-dark: #000000;
JSON
{
"hex": "#5a7ae2",
"rgb": {
"r": 90,
"g": 122,
"b": 226
},
"hsl": {
"h": 225.882,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.60705,
"c": 0.1614,
"h": 268.4
},
"luminance": 0.21584
}Semantic roles & 50–950 ramp
primary
#5A7AE2
secondary
#E5D9B3
accent
#A513D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84