#3A5787 color

#3A5787 rgb(58, 87, 135)
Shades of blue

The hex color #3A5787 is a dark, desaturated azure.

In the RGB color model it is made of 22.7% red, 34.1% green and 52.9% blue (58, 87, 135).

Its hue angle is 217°, with 40% saturation and 38% lightness. For print, the CMYK equivalent is 57% cyan, 36% magenta, 0% yellow and 47% black.

The closest named color is Glimpse of Void (#335588), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 7.26:1).

#3A5787 color codes

HEX#3A5787
RGBrgb(58, 87, 135)
RGB percentrgb(22.7%, 34.1%, 52.9%)
HSLhsl(217, 40%, 38%)
HSV / HSBhsv(217, 57%, 53%)
CMYKcmyk(57%, 36%, 0%, 47%)
CIE LABlab(36.86, 4.38, -30.07)
CIE LCHlch(36.86, 30.39, 278.29)
CIE XYZxyz(9.525, 9.464, 24.242)
Decimal3823495
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A5787, 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 #3A5787RatioAAAAAAA large
Sample text2.89:1FailFailFail
Sample text7.26:1PassPassPass
#3A5787 as text onRatioAAAAAAA large
Sample text7.26:1PassPassPass
Sample text2.89:1FailFailFail

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 #3A5787 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a5787; }
.text { color: #3a5787; }
.border { border: 2px solid #3a5787; }
.transparent { background-color: rgb(58 87 135 / 50%); }
.gradient { background: linear-gradient(to right, #3a5787, #443a87); }
Background
Text color
Border

Similar colors

Closest common color name: Sapphire.

Questions

What color is #3A5787?
#3A5787 is a dark, desaturated azure, closest to the named color Glimpse of Void. It belongs to the blue family of colors.
What is the RGB value of #3A5787?
The RGB value is 58, 87, 135: 58 red, 87 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #3A5787?
The complementary color is #876A3A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A5787?
White text. Black text has a contrast ratio of 2.89:1 and white text 7.26:1. WCAG asks for at least 4.5:1 for normal text.