#3A3852 color

#3A3852 rgb(58, 56, 82)
Shades of blue

The hex color #3A3852 is a dark, grayish blue.

In the RGB color model it is made of 22.7% red, 22% green and 32.2% blue (58, 56, 82).

Its hue angle is 245°, with 19% saturation and 27% lightness. For print, the CMYK equivalent is 29% cyan, 32% magenta, 0% yellow and 68% black.

The closest named color is Maharaja (#3F354F), a difference of 3.3 ΔE, a small difference.

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

#3A3852 color codes

HEX#3A3852
RGBrgb(58, 56, 82)
RGB percentrgb(22.7%, 22%, 32.2%)
HSLhsl(245, 19%, 27%)
HSV / HSBhsv(245, 32%, 32%)
CMYKcmyk(29%, 32%, 0%, 68%)
CIE LABlab(24.76, 7.61, -15.45)
CIE LCHlch(24.76, 17.22, 296.24)
CIE XYZxyz(4.682, 4.337, 8.571)
Decimal3815506
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A3852, 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 #3A3852RatioAAAAAAA large
Sample text1.87:1FailFailFail
Sample text11.25:1PassPassPass
#3A3852 as text onRatioAAAAAAA large
Sample text11.25:1PassPassPass
Sample text1.87: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 #3A3852 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a3852; }
.text { color: #3a3852; }
.border { border: 2px solid #3a3852; }
.transparent { background-color: rgb(58 56 82 / 50%); }
.gradient { background: linear-gradient(to right, #3a3852, #473852); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #3A3852?
#3A3852 is a dark, grayish blue, closest to the named color Maharaja. It belongs to the blue family of colors.
What is the RGB value of #3A3852?
The RGB value is 58, 56, 82: 58 red, 56 green and 82 blue on a 0 to 255 scale.
What is the complementary color of #3A3852?
The complementary color is #505238, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A3852?
White text. Black text has a contrast ratio of 1.87:1 and white text 11.25:1. WCAG asks for at least 4.5:1 for normal text.