#2C254A color
The hex color #2C254A is a dark, desaturated violet.
In the RGB color model it is made of 17.3% red, 14.5% green and 29% blue (44, 37, 74).
Its hue angle is 251°, with 33% saturation and 22% lightness. For print, the CMYK equivalent is 41% cyan, 50% magenta, 0% yellow and 71% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.28:1).
#2C254A color codes
| HEX | #2C254A | |
|---|---|---|
| RGB | rgb(44, 37, 74) | |
| RGB percent | rgb(17.3%, 14.5%, 29%) | |
| HSL | hsl(251, 33%, 22%) | |
| HSV / HSB | hsv(251, 50%, 29%) | |
| CMYK | cmyk(41%, 50%, 0%, 71%) | |
| CIE LAB | lab(17.24, 13.61, -21.95) | |
| CIE LCH | lch(17.24, 25.82, 301.8) | |
| CIE XYZ | xyz(2.936, 2.353, 6.777) | |
| Decimal | 2893130 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2C254A, 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 #2C254A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.28:1 | Pass | Pass | Pass |
| #2C254A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.28:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #2C254A looks to people with the most common types of color vision deficiency.
#182b4bProtanopia
no red cones#192a49Deuteranopia
no green cones#242c34Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #2c254a; }
.text { color: #2c254a; }
.border { border: 2px solid #2c254a; }
.transparent { background-color: rgb(44 37 74 / 50%); }
.gradient { background: linear-gradient(to right, #2c254a, #3f254a); }
Similar colors
#2a2243Midnight Velvet#2a2551Pāua#222244Black Market#322c56Purple Noir#372d52Midnight Pie#211d49Azulado#2c2c57Deep Sea Base#231c4dSilent Orbit
Closest common color name: Dark Purple.
Questions
- What color is #2C254A?
- #2C254A is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #2C254A?
- The RGB value is 44, 37, 74: 44 red, 37 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #2C254A?
- The complementary color is #434A25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2C254A?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.28:1. WCAG asks for at least 4.5:1 for normal text.