#5A7ECA color
The hex color #5A7ECA is a moderate blue.
In the RGB color model it is made of 35.3% red, 49.4% green and 79.2% blue (90, 126, 202).
Its hue angle is 221°, with 51% saturation and 57% lightness. For print, the CMYK equivalent is 55% cyan, 38% magenta, 0% yellow and 21% black.
The closest named color is Serenity’s Reign (#507BCE), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.27:1).
#5A7ECA color codes
| HEX | #5A7ECA | |
|---|---|---|
| RGB | rgb(90, 126, 202) | |
| RGB percent | rgb(35.3%, 49.4%, 79.2%) | |
| HSL | hsl(221, 51%, 57%) | |
| HSV / HSB | hsv(221, 55%, 79%) | |
| CMYK | cmyk(55%, 38%, 0%, 21%) | |
| CIE LAB | lab(53.34, 9.67, -43.33) | |
| CIE LCH | lch(53.34, 44.39, 282.58) | |
| CIE XYZ | xyz(22.334, 21.358, 58.811) | |
| Decimal | 5930698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A7ECA, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5A7ECA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.27:1 | Pass | Fail | Pass |
| Sample text | 3.98:1 | Fail | Fail | Pass |
| #5A7ECA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.98:1 | Fail | Fail | Pass |
| Sample text | 5.27:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5A7ECA looks to people with the most common types of color vision deficiency.
#5f85cdProtanopia
no red cones#517bc8Deuteranopia
no green cones#148f9aTritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #5a7eca; }
.text { color: #5a7eca; }
.border { border: 2px solid #5a7eca; }
.transparent { background-color: rgb(90 126 202 / 50%); }
.gradient { background: linear-gradient(to right, #5a7eca, #6e5aca); }
Similar colors
#507bceSerenity’s Reign#4477ddSkies of Cyberspace#5a88c8Marina#567aadEndless River#5182b9Fisher King#5588ddBlue Jay#6d83bbOrbital#6677bbFlood
Closest common color name: Steel Blue.
Questions
- What color is #5A7ECA?
- #5A7ECA is a moderate blue, closest to the named color Serenity’s Reign. It belongs to the blue family of colors.
- What is the RGB value of #5A7ECA?
- The RGB value is 90, 126, 202: 90 red, 126 green and 202 blue on a 0 to 255 scale.
- What is the complementary color of #5A7ECA?
- The complementary color is #CAA65A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A7ECA?
- Black text. Black text has a contrast ratio of 5.27:1 and white text 3.98:1. WCAG asks for at least 4.5:1 for normal text.