#272D3E color
The hex color #272D3E is a very dark, grayish blue.
In the RGB color model it is made of 15.3% red, 17.6% green and 24.3% blue (39, 45, 62).
Its hue angle is 224°, with 23% saturation and 20% lightness. For print, the CMYK equivalent is 37% cyan, 27% magenta, 0% yellow and 76% black.
The closest named color is Midnight Express (#21263A), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.71:1).
#272D3E color codes
| HEX | #272D3E | |
|---|---|---|
| RGB | rgb(39, 45, 62) | |
| RGB percent | rgb(15.3%, 17.6%, 24.3%) | |
| HSL | hsl(224, 23%, 20%) | |
| HSV / HSB | hsv(224, 37%, 24%) | |
| CMYK | cmyk(37%, 27%, 0%, 76%) | |
| CIE LAB | lab(18.61, 2.33, -11.61) | |
| CIE LCH | lch(18.61, 11.84, 281.34) | |
| CIE XYZ | xyz(2.644, 2.656, 4.93) | |
| Decimal | 2567486 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272D3E, 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 #272D3E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.71:1 | Pass | Pass | Pass |
| #272D3E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.71:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #272D3E looks to people with the most common types of color vision deficiency.
#282e3fProtanopia
no red cones#262c3eDeuteranopia
no green cones#213033Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #272d3e; }
.text { color: #272d3e; }
.border { border: 2px solid #272d3e; }
.transparent { background-color: rgb(39 45 62 / 50%); }
.gradient { background: linear-gradient(to right, #272d3e, #2d273e); }
Similar colors
#21263aMidnight Express#1e2433Moonless Mystery#303543Total Eclipse#333344Shuriken#1c2841Eternal Darkness#1b2431Dark#1f2133Eclipse Elixir#2c2a35Haiti
Closest common color name: Gunmetal.
Questions
- What color is #272D3E?
- #272D3E is a very dark, grayish blue, closest to the named color Midnight Express. It belongs to the black family of colors.
- What is the RGB value of #272D3E?
- The RGB value is 39, 45, 62: 39 red, 45 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #272D3E?
- The complementary color is #3E3827, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272D3E?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.71:1. WCAG asks for at least 4.5:1 for normal text.