#2B3542 color
The hex color #2B3542 is a dark, grayish azure.
In the RGB color model it is made of 16.9% red, 20.8% green and 25.9% blue (43, 53, 66).
Its hue angle is 214°, with 21% saturation and 21% lightness. For print, the CMYK equivalent is 35% cyan, 20% magenta, 0% yellow and 74% black.
The closest named color is Total Eclipse (#303543), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.42:1).
#2B3542 color codes
| HEX | #2B3542 | |
|---|---|---|
| RGB | rgb(43, 53, 66) | |
| RGB percent | rgb(16.9%, 20.8%, 25.9%) | |
| HSL | hsl(214, 21%, 21%) | |
| HSV / HSB | hsv(214, 35%, 26%) | |
| CMYK | cmyk(35%, 20%, 0%, 74%) | |
| CIE LAB | lab(21.77, -0.49, -9.46) | |
| CIE LCH | lch(21.77, 9.48, 267.04) | |
| CIE XYZ | xyz(3.252, 3.453, 5.648) | |
| Decimal | 2831682 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B3542, 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 #2B3542 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.42:1 | Pass | Pass | Pass |
| #2B3542 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.42:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #2B3542 looks to people with the most common types of color vision deficiency.
#303543Protanopia
no red cones#2e3342Deuteranopia
no green cones#243839Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #2b3542; }
.text { color: #2b3542; }
.border { border: 2px solid #2b3542; }
.transparent { background-color: rgb(43 53 66 / 50%); }
.gradient { background: linear-gradient(to right, #2b3542, #2d2b42); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#393f4bInkblot#353f51Dark & Stormy#1e3442Blue Whale#222831Infinity#303a40Tempest in a Teapot#243640Petrol Slumber
Closest common color name: Gunmetal.
Questions
- What color is #2B3542?
- #2B3542 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2B3542?
- The RGB value is 43, 53, 66: 43 red, 53 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2B3542?
- The complementary color is #42382B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B3542?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.42:1. WCAG asks for at least 4.5:1 for normal text.