#2E3545 color
The hex color #2E3545 is a dark, grayish blue.
In the RGB color model it is made of 18% red, 20.8% green and 27.1% blue (46, 53, 69).
Its hue angle is 222°, with 20% saturation and 23% lightness. For print, the CMYK equivalent is 33% cyan, 23% magenta, 0% yellow and 73% black.
The closest named color is Total Eclipse (#303543), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.27:1).
#2E3545 color codes
| HEX | #2E3545 | |
|---|---|---|
| RGB | rgb(46, 53, 69) | |
| RGB percent | rgb(18%, 20.8%, 27.1%) | |
| HSL | hsl(222, 20%, 23%) | |
| HSV / HSB | hsv(222, 33%, 27%) | |
| CMYK | cmyk(33%, 23%, 0%, 73%) | |
| CIE LAB | lab(22.15, 1.5, -10.89) | |
| CIE LCH | lch(22.15, 10.99, 277.83) | |
| CIE XYZ | xyz(3.474, 3.557, 6.133) | |
| Decimal | 3028293 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E3545, 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 #2E3545 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.27:1 | Pass | Pass | Pass |
| #2E3545 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.27:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #2E3545 looks to people with the most common types of color vision deficiency.
#303646Protanopia
no red cones#2e3445Deuteranopia
no green cones#28383aTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #2e3545; }
.text { color: #2e3545; }
.border { border: 2px solid #2e3545; }
.transparent { background-color: rgb(46 53 69 / 50%); }
.gradient { background: linear-gradient(to right, #2e3545, #332e45); }
Similar colors
#303543Total Eclipse#353f51Dark & Stormy#393f4bInkblot#333344Shuriken#3c4151Lava Stone#35343fWitches Cauldron#363b43Do Not Disturb#3f4250Madonna
Closest common color name: Gunmetal.
Questions
- What color is #2E3545?
- #2E3545 is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2E3545?
- The RGB value is 46, 53, 69: 46 red, 53 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #2E3545?
- The complementary color is #453E2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E3545?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.27:1. WCAG asks for at least 4.5:1 for normal text.