#5A7EC7#5A7EC7
#5A7EC7 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.9% C 0.119 H 263.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EC7 |
|---|---|
| RGB | rgb(90, 126, 199) |
| HSL | hsl(220, 49%, 57%) |
| HSV | hsv(220, 55%, 78%) |
| CMYK | cmyk(54.8%, 36.7%, 0%, 22%) |
| CIE-LAB | lab(53.19, 8.70, -41.86) |
| CIE-LCH | lch(53.19, 42.76, 281.74°) |
| OKLab | oklab(59.92% -0.0138 -0.1184) |
| OKLCH | oklch(59.92% 0.119 263.3) |
| XYZ | xyz(21.9826, 21.2172, 56.9587) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.12
Off Blue
#5684AE
ΔE00 5.16
Cornflower Blue
#5170D7
ΔE00 5.17
Soft Blue
#6488EA
ΔE00 5.38
Dusty Blue
#5A86AD
ΔE00 5.53
Windows Blue
#3778BF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EC7 #C7A35A
analogous
#5AB5C7 #5A7EC7 #6D5AC7
triadic
#5A7EC7 #C75A7E #7EC75A
tetradic
#5A7EC7 #C75AB5 #C7A35A #5AC76D
square
#5A7EC7 #C75AB5 #C7A35A #5AC76D
split-complementary
#5A7EC7 #C76D5A #B5C75A
monochromatic
#2A457C #3A5FAA #5A7EC7 #88A2D7 #B5C5E6
Accessibility & contrast
On white
4.00
#5A7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#5A7EC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EC7
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EC7 | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#1A8E99
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7ec7; /* rgb */ color: rgb(90, 126, 199); /* oklch */ color: oklch(59.9% 0.119 263.3);
Tailwind
colors: {
custom: {
50: '#90a3d8',
500: '#5a7ec7',
950: '#000000',
},
}SCSS
$custom: #5a7ec7; $custom-light: #90a3d8; $custom-dark: #000000;
JSON
{
"hex": "#5a7ec7",
"rgb": {
"r": 90,
"g": 126,
"b": 199
},
"hsl": {
"h": 220.183,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.59922,
"c": 0.11921,
"h": 263.3
},
"luminance": 0.21219
}Semantic roles & 50–950 ramp
primary
#5A7EC7
secondary
#D5C6A8
accent
#AB4FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0F14
muted
#7E7E83