#2B4051 color
The hex color #2B4051 is a dark, desaturated azure.
In the RGB color model it is made of 16.9% red, 25.1% green and 31.8% blue (43, 64, 81).
Its hue angle is 207°, with 31% saturation and 24% lightness. For print, the CMYK equivalent is 47% cyan, 21% magenta, 0% yellow and 68% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.74:1).
#2B4051 color codes
| HEX | #2B4051 | |
|---|---|---|
| RGB | rgb(43, 64, 81) | |
| RGB percent | rgb(16.9%, 25.1%, 31.8%) | |
| HSL | hsl(207, 31%, 24%) | |
| HSV / HSB | hsv(207, 47%, 32%) | |
| CMYK | cmyk(47%, 21%, 0%, 68%) | |
| CIE LAB | lab(26.08, -3.03, -12.85) | |
| CIE LCH | lch(26.08, 13.2, 256.74) | |
| CIE XYZ | xyz(4.314, 4.774, 8.477) | |
| Decimal | 2834513 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B4051, 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 #2B4051 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.74:1 | Pass | Pass | Pass |
| #2B4051 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.74:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #2B4051 looks to people with the most common types of color vision deficiency.
#394052Protanopia
no red cones#343c51Deuteranopia
no green cones#1c4446Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #2b4051; }
.text { color: #2b4051; }
.border { border: 2px solid #2b4051; }
.transparent { background-color: rgb(43 64 81 / 50%); }
.gradient { background: linear-gradient(to right, #2b4051, #2b2d51); }
Similar colors
#253f4eDepths of the Nile#29465bOne Year of Rain#1a4157Capital Blue#36454fCharcoal#1e3442Blue Whale#243640Petrol Slumber#324c64Bluedgeons#1e3642Into the Night
Questions
- What color is #2B4051?
- #2B4051 is a dark, desaturated azure, closest to the named color Depths of the Nile. It belongs to the blue family of colors.
- What is the RGB value of #2B4051?
- The RGB value is 43, 64, 81: 43 red, 64 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #2B4051?
- The complementary color is #513C2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B4051?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.74:1. WCAG asks for at least 4.5:1 for normal text.