#2B2B5E color
The hex color #2B2B5E is a dark, desaturated blue.
In the RGB color model it is made of 16.9% red, 16.9% green and 36.9% blue (43, 43, 94).
Its hue angle is 240°, with 37% saturation and 27% lightness. For print, the CMYK equivalent is 54% cyan, 54% magenta, 0% yellow and 63% black.
The closest named color is Galaxea (#2E305E), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.04:1).
#2B2B5E color codes
| HEX | #2B2B5E | |
|---|---|---|
| RGB | rgb(43, 43, 94) | |
| RGB percent | rgb(16.9%, 16.9%, 36.9%) | |
| HSL | hsl(240, 37%, 27%) | |
| HSV / HSB | hsv(240, 54%, 37%) | |
| CMYK | cmyk(54%, 54%, 0%, 63%) | |
| CIE LAB | lab(20.24, 15.95, -30.58) | |
| CIE LCH | lch(20.24, 34.49, 297.54) | |
| CIE XYZ | xyz(3.88, 3.049, 10.972) | |
| Decimal | 2829150 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B2B5E, 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 #2B2B5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.04:1 | Pass | Pass | Pass |
| #2B2B5E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.04:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #2B2B5E looks to people with the most common types of color vision deficiency.
#123360Protanopia
no red cones#0d2f5dDeuteranopia
no green cones#173640Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #2b2b5e; }
.text { color: #2b2b5e; }
.border { border: 2px solid #2b2b5e; }
.transparent { background-color: rgb(43 43 94 / 50%); }
.gradient { background: linear-gradient(to right, #2b2b5e, #452b5e); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#222255Spacescape#2a2551Pāua#322c56Purple Noir#2e2364Indie Go#1d2951Space Cadet#1c2e63Mythical Night
Closest common color name: Oxford Blue.
Questions
- What color is #2B2B5E?
- #2B2B5E is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #2B2B5E?
- The RGB value is 43, 43, 94: 43 red, 43 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #2B2B5E?
- The complementary color is #5E5E2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B2B5E?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.04:1. WCAG asks for at least 4.5:1 for normal text.