#3E5271 color
The hex color #3E5271 is a dark, desaturated azure.
In the RGB color model it is made of 24.3% red, 32.2% green and 44.3% blue (62, 82, 113).
Its hue angle is 216°, with 29% saturation and 34% lightness. For print, the CMYK equivalent is 45% cyan, 27% magenta, 0% yellow and 56% black.
The closest named color is Naval Blue (#384B6B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.92:1).
#3E5271 color codes
| HEX | #3E5271 | |
|---|---|---|
| RGB | rgb(62, 82, 113) | |
| RGB percent | rgb(24.3%, 32.2%, 44.3%) | |
| HSL | hsl(216, 29%, 34%) | |
| HSV / HSB | hsv(216, 45%, 44%) | |
| CMYK | cmyk(45%, 27%, 0%, 56%) | |
| CIE LAB | lab(34.5, 1.3, -20.18) | |
| CIE LCH | lch(34.5, 20.23, 273.69) | |
| CIE XYZ | xyz(7.984, 8.251, 16.791) | |
| Decimal | 4084337 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E5271, 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 #3E5271 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.92:1 | Pass | Pass | Pass |
| #3E5271 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.92:1 | Pass | Pass | Pass |
| Sample text | 2.65:1 | Fail | Fail | Fail |
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 #3E5271 looks to people with the most common types of color vision deficiency.
#475472Protanopia
no red cones#414f70Deuteranopia
no green cones#2b595dTritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #3e5271; }
.text { color: #3e5271; }
.border { border: 2px solid #3e5271; }
.transparent { background-color: rgb(62 82 113 / 50%); }
.gradient { background: linear-gradient(to right, #3e5271, #443e71); }
Similar colors
#384b6bNaval Blue#39527dSt. Tropaz#3a4a63Silent Sea#44556bInkjet#394d78Noble Knight#445780Sailor#425267Into the Stratosphere#32496fMidnight Interlude
Closest common color name: Charcoal.
Questions
- What color is #3E5271?
- #3E5271 is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #3E5271?
- The RGB value is 62, 82, 113: 62 red, 82 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #3E5271?
- The complementary color is #715D3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E5271?
- White text. Black text has a contrast ratio of 2.65:1 and white text 7.92:1. WCAG asks for at least 4.5:1 for normal text.