#272A43 color
The hex color #272A43 is a dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 16.5% green and 26.3% blue (39, 42, 67).
Its hue angle is 234°, with 26% saturation and 21% lightness. For print, the CMYK equivalent is 42% cyan, 37% magenta, 0% yellow and 74% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.01:1).
#272A43 color codes
| HEX | #272A43 | |
|---|---|---|
| RGB | rgb(39, 42, 67) | |
| RGB percent | rgb(15.3%, 16.5%, 26.3%) | |
| HSL | hsl(234, 26%, 21%) | |
| HSV / HSB | hsv(234, 42%, 26%) | |
| CMYK | cmyk(42%, 37%, 0%, 74%) | |
| CIE LAB | lab(17.88, 6.08, -16.17) | |
| CIE LCH | lch(17.88, 17.28, 290.61) | |
| CIE XYZ | xyz(2.677, 2.492, 5.649) | |
| Decimal | 2566723 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272A43, 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 #272A43 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.01:1 | Pass | Pass | Pass |
| #272A43 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.01:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #272A43 looks to people with the most common types of color vision deficiency.
#222d44Protanopia
no red cones#202b42Deuteranopia
no green cones#1f2f33Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #272a43; }
.text { color: #272a43; }
.border { border: 2px solid #272a43; }
.transparent { background-color: rgb(39 42 67 / 50%); }
.gradient { background: linear-gradient(to right, #272a43, #322743); }
Similar colors
#2c2e47Midnight Masquerade#21263aMidnight Express#1c2841Eternal Darkness#1f2133Eclipse Elixir#222233Black Velvet#222244Black Market#333344Shuriken#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #272A43?
- #272A43 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 #272A43?
- The RGB value is 39, 42, 67: 39 red, 42 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #272A43?
- The complementary color is #434027, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272A43?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14.01:1. WCAG asks for at least 4.5:1 for normal text.