#2E2F57 color
The hex color #2E2F57 is a dark, desaturated blue.
In the RGB color model it is made of 18% red, 18.4% green and 34.1% blue (46, 47, 87).
Its hue angle is 239°, with 31% saturation and 26% lightness. For print, the CMYK equivalent is 47% cyan, 46% magenta, 0% yellow and 66% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.65:1).
#2E2F57 color codes
| HEX | #2E2F57 | |
|---|---|---|
| RGB | rgb(46, 47, 87) | |
| RGB percent | rgb(18%, 18.4%, 34.1%) | |
| HSL | hsl(239, 31%, 26%) | |
| HSV / HSB | hsv(239, 47%, 34%) | |
| CMYK | cmyk(47%, 46%, 0%, 66%) | |
| CIE LAB | lab(21.21, 11.5, -24.38) | |
| CIE LCH | lch(21.21, 26.96, 295.26) | |
| CIE XYZ | xyz(3.863, 3.302, 9.449) | |
| Decimal | 3026775 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E2F57, 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 #2E2F57 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.65:1 | Pass | Pass | Pass |
| #2E2F57 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.65:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #2E2F57 looks to people with the most common types of color vision deficiency.
#203459Protanopia
no red cones#1e3156Deuteranopia
no green cones#21373eTritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #2e2f57; }
.text { color: #2e2f57; }
.border { border: 2px solid #2e2f57; }
.transparent { background-color: rgb(46 47 87 / 50%); }
.gradient { background: linear-gradient(to right, #2e2f57, #412e57); }
Similar colors
#2c2c57Deep Sea Base#2e305eGalaxea#322c56Purple Noir#2b3458Midnight Escapade#2a2551Pāua#372d52Midnight Pie#1d2951Space Cadet#222244Black Market
Closest common color name: Oxford Blue.
Questions
- What color is #2E2F57?
- #2E2F57 is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
- What is the RGB value of #2E2F57?
- The RGB value is 46, 47, 87: 46 red, 47 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #2E2F57?
- The complementary color is #57562E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E2F57?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.65:1. WCAG asks for at least 4.5:1 for normal text.