#2C283E color
The hex color #2C283E is a dark, grayish violet.
In the RGB color model it is made of 17.3% red, 15.7% green and 24.3% blue (44, 40, 62).
Its hue angle is 251°, with 22% saturation and 20% lightness. For print, the CMYK equivalent is 29% cyan, 35% magenta, 0% yellow and 76% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.19:1).
#2C283E color codes
| HEX | #2C283E | |
|---|---|---|
| RGB | rgb(44, 40, 62) | |
| RGB percent | rgb(17.3%, 15.7%, 24.3%) | |
| HSL | hsl(251, 22%, 20%) | |
| HSV / HSB | hsv(251, 35%, 24%) | |
| CMYK | cmyk(29%, 35%, 0%, 76%) | |
| CIE LAB | lab(17.46, 7.69, -13.34) | |
| CIE LCH | lch(17.46, 15.4, 299.96) | |
| CIE XYZ | xyz(2.667, 2.401, 4.879) | |
| Decimal | 2893886 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2C283E, 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 #2C283E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19:1 | Pass | Pass | Pass |
| #2C283E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #2C283E looks to people with the most common types of color vision deficiency.
#222b3fProtanopia
no red cones#232a3dDeuteranopia
no green cones#282c30Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #2c283e; }
.text { color: #2c283e; }
.border { border: 2px solid #2c283e; }
.transparent { background-color: rgb(44 40 62 / 50%); }
.gradient { background: linear-gradient(to right, #2c283e, #37283e); }
Similar colors
#2c2e47Midnight Masquerade#222233Black Velvet#1f2133Eclipse Elixir#21263aMidnight Express#333344Shuriken#2a2243Midnight Velvet#222244Black Market#3f354fMaharaja
Closest common color name: Dark Purple.
Questions
- What color is #2C283E?
- #2C283E is a dark, grayish violet, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #2C283E?
- The RGB value is 44, 40, 62: 44 red, 40 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #2C283E?
- The complementary color is #3A3E28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2C283E?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.