#272246 color
The hex color #272246 is a dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 13.3% green and 27.5% blue (39, 34, 70).
Its hue angle is 248°, with 35% saturation and 20% lightness. For print, the CMYK equivalent is 44% cyan, 51% magenta, 0% yellow and 73% 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.96:1).
#272246 color codes
| HEX | #272246 | |
|---|---|---|
| RGB | rgb(39, 34, 70) | |
| RGB percent | rgb(15.3%, 13.3%, 27.5%) | |
| HSL | hsl(248, 35%, 20%) | |
| HSV / HSB | hsv(248, 51%, 27%) | |
| CMYK | cmyk(44%, 51%, 0%, 73%) | |
| CIE LAB | lab(15.58, 12.86, -21.87) | |
| CIE LCH | lch(15.58, 25.37, 300.45) | |
| CIE XYZ | xyz(2.514, 2.018, 6.05) | |
| Decimal | 2564678 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272246, 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 #272246 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.96:1 | Pass | Pass | Pass |
| #272246 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.96:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #272246 looks to people with the most common types of color vision deficiency.
#152847Protanopia
no red cones#152645Deuteranopia
no green cones#1e2930Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #272246; }
.text { color: #272246; }
.border { border: 2px solid #272246; }
.transparent { background-color: rgb(39 34 70 / 50%); }
.gradient { background: linear-gradient(to right, #272246, #392246); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#2a2551Pāua#211d49Azulado#322c56Purple Noir#231c4dSilent Orbit#372d52Midnight Pie#2c2c57Deep Sea Base
Closest common color name: Dark Purple.
Questions
- What color is #272246?
- #272246 is a dark, desaturated blue, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #272246?
- The RGB value is 39, 34, 70: 39 red, 34 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #272246?
- The complementary color is #414622, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272246?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.96:1. WCAG asks for at least 4.5:1 for normal text.