#272C76 color
The hex color #272C76 is a dark, moderate blue.
In the RGB color model it is made of 15.3% red, 17.3% green and 46.3% blue (39, 44, 118).
Its hue angle is 236°, with 50% saturation and 31% lightness. For print, the CMYK equivalent is 67% cyan, 63% magenta, 0% yellow and 54% black.
The closest named color is Midnight Crest (#112473), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.29:1).
#272C76 color codes
| HEX | #272C76 | |
|---|---|---|
| RGB | rgb(39, 44, 118) | |
| RGB percent | rgb(15.3%, 17.3%, 46.3%) | |
| HSL | hsl(236, 50%, 31%) | |
| HSV / HSB | hsv(236, 67%, 46%) | |
| CMYK | cmyk(67%, 63%, 0%, 54%) | |
| CIE LAB | lab(22.09, 23.25, -43.18) | |
| CIE LCH | lch(22.09, 49.04, 298.3) | |
| CIE XYZ | xyz(5.006, 3.54, 17.556) | |
| Decimal | 2567286 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #272C76, 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 #272C76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.29:1 | Pass | Pass | Pass |
| #272C76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.29:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #272C76 looks to people with the most common types of color vision deficiency.
#003878Protanopia
no red cones#003175Deuteranopia
no green cones#003e4cTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #272c76; }
.text { color: #272c76; }
.border { border: 2px solid #272c76; }
.transparent { background-color: rgb(39 44 118 / 50%); }
.gradient { background: linear-gradient(to right, #272c76, #492776); }
Similar colors
#112473Midnight Crest#223382Deep Space Royal#273287Intergalactic Highway#1c3378Twilight Express#222266Intergalactic Cowboy#0a2f7cBelow the Surface#002277Long-Haul Flight#082567Dark Sapphire
Closest common color name: Midnight Blue.
Questions
- What color is #272C76?
- #272C76 is a dark, moderate blue, closest to the named color Midnight Crest. It belongs to the blue family of colors.
- What is the RGB value of #272C76?
- The RGB value is 39, 44, 118: 39 red, 44 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #272C76?
- The complementary color is #767127, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #272C76?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.29:1. WCAG asks for at least 4.5:1 for normal text.