#2D4156 color
The hex color #2D4156 is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 25.5% green and 33.7% blue (45, 65, 86).
Its hue angle is 211°, with 31% saturation and 26% lightness. For print, the CMYK equivalent is 48% cyan, 24% magenta, 0% yellow and 66% black.
The closest named color is Pi (#314159), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.49:1).
#2D4156 color codes
| HEX | #2D4156 | |
|---|---|---|
| RGB | rgb(45, 65, 86) | |
| RGB percent | rgb(17.6%, 25.5%, 33.7%) | |
| HSL | hsl(211, 31%, 26%) | |
| HSV / HSB | hsv(211, 48%, 34%) | |
| CMYK | cmyk(48%, 24%, 0%, 66%) | |
| CIE LAB | lab(26.76, -1.43, -15.05) | |
| CIE LCH | lch(26.76, 15.12, 264.56) | |
| CIE XYZ | xyz(4.652, 5.01, 9.524) | |
| Decimal | 2965846 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4156, 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 #2D4156 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.49:1 | Pass | Pass | Pass |
| #2D4156 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.49:1 | Pass | Pass | Pass |
| Sample text | 2: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 #2D4156 looks to people with the most common types of color vision deficiency.
#394257Protanopia
no red cones#343d56Deuteranopia
no green cones#1d4648Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #2d4156; }
.text { color: #2d4156; }
.border { border: 2px solid #2d4156; }
.transparent { background-color: rgb(45 65 86 / 50%); }
.gradient { background: linear-gradient(to right, #2d4156, #2e2d56); }
Similar colors
#314159Pi#29465bOne Year of Rain#314662Stay the Night#353f51Dark & Stormy#324c64Bluedgeons#273c5aNautilus#3a4a63Silent Sea#2c4364Black Turmeric
Closest common color name: Charcoal.
Questions
- What color is #2D4156?
- #2D4156 is a dark, desaturated azure, closest to the named color Pi. It belongs to the blue family of colors.
- What is the RGB value of #2D4156?
- The RGB value is 45, 65, 86: 45 red, 65 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #2D4156?
- The complementary color is #56422D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4156?
- White text. Black text has a contrast ratio of 2:1 and white text 10.49:1. WCAG asks for at least 4.5:1 for normal text.