#272839 color
The hex color #272839 is a very dark, grayish blue.
In the RGB color model it is made of 15.3% red, 15.7% green and 22.4% blue (39, 40, 57).
Its hue angle is 237°, with 19% saturation and 19% lightness. For print, the CMYK equivalent is 32% cyan, 30% magenta, 0% yellow and 78% black.
The closest named color is Black Velvet (#222233), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.49:1).
#272839 color codes
| HEX | #272839 | |
|---|---|---|
| RGB | rgb(39, 40, 57) | |
| RGB percent | rgb(15.3%, 15.7%, 22.4%) | |
| HSL | hsl(237, 19%, 19%) | |
| HSV / HSB | hsv(237, 32%, 22%) | |
| CMYK | cmyk(32%, 30%, 0%, 78%) | |
| CIE LAB | lab(16.72, 4.29, -11.06) | |
| CIE LCH | lch(16.72, 11.86, 291.21) | |
| CIE XYZ | xyz(2.334, 2.244, 4.18) | |
| Decimal | 2566201 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272839, 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 #272839 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.49:1 | Pass | Pass | Pass |
| #272839 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.49:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #272839 looks to people with the most common types of color vision deficiency.
#232a3aProtanopia
no red cones#222939Deuteranopia
no green cones#232b2eTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #272839; }
.text { color: #272839; }
.border { border: 2px solid #272839; }
.transparent { background-color: rgb(39 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #272839, #2f2739); }
Similar colors
#222233Black Velvet#21263aMidnight Express#1f2133Eclipse Elixir#2c2a35Haiti#1e2433Moonless Mystery#333344Shuriken#2c2e47Midnight Masquerade#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #272839?
- #272839 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #272839?
- The RGB value is 39, 40, 57: 39 red, 40 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #272839?
- The complementary color is #393827, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272839?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.49:1. WCAG asks for at least 4.5:1 for normal text.