#5A7ECA#5A7ECA
#5A7ECA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.123 H 263.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7ECA |
|---|---|
| RGB | rgb(90, 126, 202) |
| HSL | hsl(221, 51%, 57%) |
| HSV | hsv(221, 55%, 79%) |
| CMYK | cmyk(55.4%, 37.6%, 0%, 20.8%) |
| CIE-LAB | lab(53.34, 9.67, -43.33) |
| CIE-LCH | lch(53.34, 44.39, 282.58°) |
| OKLab | oklab(60.09% -0.0131 -0.1227) |
| OKLCH | oklch(60.09% 0.123 263.9) |
| XYZ | xyz(22.3344, 21.3579, 58.8112) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.05
Soft Blue
#6488EA
ΔE00 5.11
Faded Blue
#658CBB
ΔE00 5.18
Off Blue
#5684AE
ΔE00 5.33
Lightish Blue
#3D7AFD
ΔE00 5.60
Dusty Blue
#5A86AD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7ECA #CAA65A
analogous
#5AB6CA #5A7ECA #6E5ACA
triadic
#5A7ECA #CA5A7E #7ECA5A
tetradic
#5A7ECA #CA5AB6 #CAA65A #5ACA6E
square
#5A7ECA #CA5AB6 #CAA65A #5ACA6E
split-complementary
#5A7ECA #CA6E5A #B6CA5A
monochromatic
#294580 #385EAF #5A7ECA #88A2D9 #B7C6E8
Accessibility & contrast
On white
3.98
#5A7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5A7ECA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7ECA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7ECA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7ECA | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#148F9A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7eca; /* rgb */ color: rgb(90, 126, 202); /* oklch */ color: oklch(60.1% 0.123 263.9);
Tailwind
colors: {
custom: {
50: '#90a3da',
500: '#5a7eca',
950: '#000000',
},
}SCSS
$custom: #5a7eca; $custom-light: #90a3da; $custom-dark: #000000;
JSON
{
"hex": "#5a7eca",
"rgb": {
"r": 90,
"g": 126,
"b": 202
},
"hsl": {
"h": 220.714,
"s": 51.376,
"l": 57.255
},
"oklch": {
"l": 0.6009,
"c": 0.12339,
"h": 263.9
},
"luminance": 0.2136
}Semantic roles & 50–950 ramp
primary
#5A7ECA
secondary
#D7C8A9
accent
#AD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83