#5A7ECD#5A7ECD
#5A7ECD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.128 H 264.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7ECD |
|---|---|
| RGB | rgb(90, 126, 205) |
| HSL | hsl(221, 53%, 58%) |
| HSV | hsv(221, 56%, 80%) |
| CMYK | cmyk(56.1%, 38.5%, 0%, 19.6%) |
| CIE-LAB | lab(53.49, 10.64, -44.79) |
| CIE-LCH | lch(53.49, 46.03, 283.37°) |
| OKLab | oklab(60.26% -0.0125 -0.1269) |
| OKLCH | oklch(60.26% 0.128 264.4) |
| XYZ | xyz(22.6930, 21.5014, 60.7001) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 4.85
Cornflower Blue
#5170D7
ΔE00 4.96
Faded Blue
#658CBB
ΔE00 5.25
Lightish Blue
#3D7AFD
ΔE00 5.33
Off Blue
#5684AE
ΔE00 5.50
Dodger Blue
#3E82FC
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7ECD #CDA95A
analogous
#5AB8CD #5A7ECD #6F5ACD
triadic
#5A7ECD #CD5A7E #7ECD5A
tetradic
#5A7ECD #CD5AB8 #CDA95A #5ACD6F
square
#5A7ECD #CD5AB8 #CDA95A #5ACD6F
split-complementary
#5A7ECD #CD6F5A #B8CD5A
monochromatic
#284584 #365EB3 #5A7ECD #89A3DB #B8C7E9
Accessibility & contrast
On white
3.96
#5A7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5A7ECD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7ECD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7ECD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7ECD | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#0B8F9C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a7ecd; /* rgb */ color: rgb(90, 126, 205); /* oklch */ color: oklch(60.3% 0.128 264.4);
Tailwind
colors: {
custom: {
50: '#91a3dc',
500: '#5a7ecd',
950: '#000000',
},
}SCSS
$custom: #5a7ecd; $custom-light: #91a3dc; $custom-dark: #000000;
JSON
{
"hex": "#5a7ecd",
"rgb": {
"r": 90,
"g": 126,
"b": 205
},
"hsl": {
"h": 221.217,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.6026,
"c": 0.12756,
"h": 264.4
},
"luminance": 0.21503
}Semantic roles & 50–950 ramp
primary
#5A7ECD
secondary
#D8CAAA
accent
#AF4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83