#2B2B46 color
The hex color #2B2B46 is a dark, grayish blue.
In the RGB color model it is made of 16.9% red, 16.9% green and 27.5% blue (43, 43, 70).
Its hue angle is 240°, with 24% saturation and 22% lightness. For print, the CMYK equivalent is 39% cyan, 39% magenta, 0% yellow and 73% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.67:1).
#2B2B46 color codes
| HEX | #2B2B46 | |
|---|---|---|
| RGB | rgb(43, 43, 70) | |
| RGB percent | rgb(16.9%, 16.9%, 27.5%) | |
| HSL | hsl(240, 24%, 22%) | |
| HSV / HSB | hsv(240, 39%, 27%) | |
| CMYK | cmyk(39%, 39%, 0%, 73%) | |
| CIE LAB | lab(18.73, 7.71, -16.88) | |
| CIE LCH | lch(18.73, 18.56, 294.55) | |
| CIE XYZ | xyz(2.965, 2.683, 6.155) | |
| Decimal | 2829126 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B2B46, 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 #2B2B46 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.67:1 | Pass | Pass | Pass |
| #2B2B46 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.67:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #2B2B46 looks to people with the most common types of color vision deficiency.
#232e47Protanopia
no red cones#222d45Deuteranopia
no green cones#243035Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2b2b46; }
.text { color: #2b2b46; }
.border { border: 2px solid #2b2b46; }
.transparent { background-color: rgb(43 43 70 / 50%); }
.gradient { background: linear-gradient(to right, #2b2b46, #392b46); }
Similar colors
#2c2e47Midnight Masquerade#222244Black Market#21263aMidnight Express#2a2243Midnight Velvet#2b3458Midnight Escapade#372d52Midnight Pie#333344Shuriken#222233Black Velvet
Closest common color name: Oxford Blue.
Questions
- What color is #2B2B46?
- #2B2B46 is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #2B2B46?
- The RGB value is 43, 43, 70: 43 red, 43 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #2B2B46?
- The complementary color is #46462B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B2B46?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.67:1. WCAG asks for at least 4.5:1 for normal text.