#2A263E color
The hex color #2A263E is a very dark, grayish violet.
In the RGB color model it is made of 16.5% red, 14.9% green and 24.3% blue (42, 38, 62).
Its hue angle is 250°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 32% cyan, 39% magenta, 0% yellow and 76% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.53:1).
#2A263E color codes
| HEX | #2A263E | |
|---|---|---|
| RGB | rgb(42, 38, 62) | |
| RGB percent | rgb(16.5%, 14.9%, 24.3%) | |
| HSL | hsl(250, 24%, 20%) | |
| HSV / HSB | hsv(250, 39%, 24%) | |
| CMYK | cmyk(32%, 39%, 0%, 76%) | |
| CIE LAB | lab(16.63, 8.38, -14.65) | |
| CIE LCH | lch(16.63, 16.88, 299.77) | |
| CIE XYZ | xyz(2.517, 2.226, 4.854) | |
| Decimal | 2762302 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A263E, 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 #2A263E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.53:1 | Pass | Pass | Pass |
| #2A263E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.53:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #2A263E looks to people with the most common types of color vision deficiency.
#1f2a3fProtanopia
no red cones#20293dDeuteranopia
no green cones#262a2fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #2a263e; }
.text { color: #2a263e; }
.border { border: 2px solid #2a263e; }
.transparent { background-color: rgb(42 38 62 / 50%); }
.gradient { background: linear-gradient(to right, #2a263e, #36263e); }
Similar colors
#2c2e47Midnight Masquerade#2a2243Midnight Velvet#222233Black Velvet#222244Black Market#1f2133Eclipse Elixir#21263aMidnight Express#151931Dark Knight#161d3bNightwalker
Closest common color name: Dark Purple.
Questions
- What color is #2A263E?
- #2A263E is a very dark, grayish violet, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #2A263E?
- The RGB value is 42, 38, 62: 42 red, 38 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #2A263E?
- The complementary color is #3A3E26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A263E?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.53:1. WCAG asks for at least 4.5:1 for normal text.