#2A414E color
The hex color #2A414E is a dark, desaturated azure.
In the RGB color model it is made of 16.5% red, 25.5% green and 30.6% blue (42, 65, 78).
Its hue angle is 202°, with 30% saturation and 24% lightness. For print, the CMYK equivalent is 46% cyan, 17% magenta, 0% yellow and 69% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.69:1).
#2A414E color codes
| HEX | #2A414E | |
|---|---|---|
| RGB | rgb(42, 65, 78) | |
| RGB percent | rgb(16.5%, 25.5%, 30.6%) | |
| HSL | hsl(202, 30%, 24%) | |
| HSV / HSB | hsv(202, 46%, 31%) | |
| CMYK | cmyk(46%, 17%, 0%, 69%) | |
| CIE LAB | lab(26.22, -4.95, -10.67) | |
| CIE LCH | lch(26.22, 11.76, 245.11) | |
| CIE XYZ | xyz(4.22, 4.823, 7.915) | |
| Decimal | 2769230 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A414E, 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 #2A414E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.69:1 | Pass | Pass | Pass |
| #2A414E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.69:1 | Pass | Pass | Pass |
| Sample text | 1.96: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 #2A414E looks to people with the most common types of color vision deficiency.
#3b404fProtanopia
no red cones#363c4eDeuteranopia
no green cones#1c4445Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #2a414e; }
.text { color: #2a414e; }
.border { border: 2px solid #2a414e; }
.transparent { background-color: rgb(42 65 78 / 50%); }
.gradient { background: linear-gradient(to right, #2a414e, #2a2f4e); }
Similar colors
#253f4eDepths of the Nile#36454fCharcoal#203943Astral Nomad#1e3642Into the Night#243640Petrol Slumber#29465bOne Year of Rain#254855Mallard#1a4157Capital Blue
Questions
- What color is #2A414E?
- #2A414E is a dark, desaturated azure, closest to the named color Depths of the Nile. It belongs to the gray family of colors.
- What is the RGB value of #2A414E?
- The RGB value is 42, 65, 78: 42 red, 65 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #2A414E?
- The complementary color is #4E372A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A414E?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.69:1. WCAG asks for at least 4.5:1 for normal text.