#272943 color
The hex color #272943 is a dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 16.1% green and 26.3% blue (39, 41, 67).
Its hue angle is 236°, with 26% saturation and 21% lightness. For print, the CMYK equivalent is 42% cyan, 39% magenta, 0% yellow and 74% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.15:1).
#272943 color codes
| HEX | #272943 | |
|---|---|---|
| RGB | rgb(39, 41, 67) | |
| RGB percent | rgb(15.3%, 16.1%, 26.3%) | |
| HSL | hsl(236, 26%, 21%) | |
| HSV / HSB | hsv(236, 42%, 26%) | |
| CMYK | cmyk(42%, 39%, 0%, 74%) | |
| CIE LAB | lab(17.56, 6.8, -16.67) | |
| CIE LCH | lch(17.56, 18.01, 292.18) | |
| CIE XYZ | xyz(2.642, 2.422, 5.637) | |
| Decimal | 2566467 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272943, 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 #272943 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.15:1 | Pass | Pass | Pass |
| #272943 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.15: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 #272943 looks to people with the most common types of color vision deficiency.
#212c44Protanopia
no red cones#1f2a42Deuteranopia
no green cones#1f2e32Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #272943; }
.text { color: #272943; }
.border { border: 2px solid #272943; }
.transparent { background-color: rgb(39 41 67 / 50%); }
.gradient { background: linear-gradient(to right, #272943, #332743); }
Similar colors
#2c2e47Midnight Masquerade#21263aMidnight Express#222244Black Market#1c2841Eternal Darkness#1f2133Eclipse Elixir#222233Black Velvet#161d3bNightwalker#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #272943?
- #272943 is a dark, desaturated blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #272943?
- The RGB value is 39, 41, 67: 39 red, 41 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #272943?
- The complementary color is #434127, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272943?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.15:1. WCAG asks for at least 4.5:1 for normal text.