#272342 color
The hex color #272342 is a very dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 13.7% green and 25.9% blue (39, 35, 66).
Its hue angle is 248°, with 31% saturation and 20% lightness. For print, the CMYK equivalent is 41% cyan, 47% magenta, 0% yellow and 74% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.94:1).
#272342 color codes
| HEX | #272342 | |
|---|---|---|
| RGB | rgb(39, 35, 66) | |
| RGB percent | rgb(15.3%, 13.7%, 25.9%) | |
| HSL | hsl(248, 31%, 20%) | |
| HSV / HSB | hsv(248, 47%, 26%) | |
| CMYK | cmyk(41%, 47%, 0%, 74%) | |
| CIE LAB | lab(15.63, 10.79, -19.03) | |
| CIE LCH | lch(15.63, 21.87, 299.55) | |
| CIE XYZ | xyz(2.421, 2.027, 5.417) | |
| Decimal | 2564930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272342, 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 #272342 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.94:1 | Pass | Pass | Pass |
| #272342 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.94:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #272342 looks to people with the most common types of color vision deficiency.
#192843Protanopia
no red cones#192641Deuteranopia
no green cones#20292fTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #272342; }
.text { color: #272342; }
.border { border: 2px solid #272342; }
.transparent { background-color: rgb(39 35 66 / 50%); }
.gradient { background: linear-gradient(to right, #272342, #372342); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#2a2551Pāua#161d3bNightwalker#372d52Midnight Pie#211d49Azulado#322c56Purple Noir#2c2e47Midnight Masquerade
Closest common color name: Dark Purple.
Questions
- What color is #272342?
- #272342 is a very dark, desaturated blue, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #272342?
- The RGB value is 39, 35, 66: 39 red, 35 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #272342?
- The complementary color is #3E4223, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272342?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.94:1. WCAG asks for at least 4.5:1 for normal text.