#2A3956 color
The hex color #2A3956 is a dark, desaturated azure.
In the RGB color model it is made of 16.5% red, 22.4% green and 33.7% blue (42, 57, 86).
Its hue angle is 220°, with 34% saturation and 25% lightness. For print, the CMYK equivalent is 51% cyan, 34% magenta, 0% yellow and 66% black.
The closest named color is Nautilus (#273C5A), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.55:1).
#2A3956 color codes
| HEX | #2A3956 | |
|---|---|---|
| RGB | rgb(42, 57, 86) | |
| RGB percent | rgb(16.5%, 22.4%, 33.7%) | |
| HSL | hsl(220, 34%, 25%) | |
| HSV / HSB | hsv(220, 51%, 34%) | |
| CMYK | cmyk(51%, 34%, 0%, 66%) | |
| CIE LAB | lab(23.97, 3.04, -19.41) | |
| CIE LCH | lch(23.97, 19.65, 278.91) | |
| CIE XYZ | xyz(4.097, 4.09, 9.376) | |
| Decimal | 2767190 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A3956, 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 #2A3956 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.55:1 | Pass | Pass | Pass |
| #2A3956 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.55:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #2A3956 looks to people with the most common types of color vision deficiency.
#2e3b57Protanopia
no red cones#293755Deuteranopia
no green cones#183f43Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #2a3956; }
.text { color: #2a3956; }
.border { border: 2px solid #2a3956; }
.transparent { background-color: rgb(42 57 86 / 50%); }
.gradient { background: linear-gradient(to right, #2a3956, #312a56); }
Similar colors
#273c5aNautilus#2e3858Mediaeval Blue#314159Pi#2b3458Midnight Escapade#2c4364Black Turmeric#314662Stay the Night#353f51Dark & Stormy#27426bNightlife
Closest common color name: Prussian Blue.
Questions
- What color is #2A3956?
- #2A3956 is a dark, desaturated azure, closest to the named color Nautilus. It belongs to the blue family of colors.
- What is the RGB value of #2A3956?
- The RGB value is 42, 57, 86: 42 red, 57 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #2A3956?
- The complementary color is #56472A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A3956?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.55:1. WCAG asks for at least 4.5:1 for normal text.