#5A7ECA color

#5A7ECA rgb(90, 126, 202)
Shades of blue

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
RGBrgb(90, 126, 202)
RGB percentrgb(35.3%, 49.4%, 79.2%)
HSLhsl(221, 51%, 57%)
HSV / HSBhsv(221, 55%, 79%)
CMYKcmyk(55%, 38%, 0%, 21%)
CIE LABlab(53.34, 9.67, -43.33)
CIE LCHlch(53.34, 44.39, 282.58)
CIE XYZxyz(22.334, 21.358, 58.811)
Decimal5930698
Short hexNone (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 #5A7ECARatioAAAAAAA large
Sample text5.27:1PassFailPass
Sample text3.98:1FailFailPass
#5A7ECA as text onRatioAAAAAAA large
Sample text3.98:1FailFailPass
Sample text5.27:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.