#072140 color
The hex color #072140 is a very dark, vivid azure.
In the RGB color model it is made of 2.7% red, 12.9% green and 25.1% blue (7, 33, 64).
Its hue angle is 213°, with 80% saturation and 14% lightness. For print, the CMYK equivalent is 89% cyan, 48% magenta, 0% yellow and 75% black.
The closest named color is Midnight Mirage (#001F3F), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.15:1).
#072140 color codes
| HEX | #072140 | |
|---|---|---|
| RGB | rgb(7, 33, 64) | |
| RGB percent | rgb(2.7%, 12.9%, 25.1%) | |
| HSL | hsl(213, 80%, 14%) | |
| HSV / HSB | hsv(213, 89%, 25%) | |
| CMYK | cmyk(89%, 48%, 0%, 75%) | |
| CIE LAB | lab(12.63, 3.58, -22.54) | |
| CIE LCH | lch(12.63, 22.82, 279.04) | |
| CIE XYZ | xyz(1.557, 1.503, 5.058) | |
| Decimal | 467264 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #072140, 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 #072140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.15:1 | Pass | Pass | Pass |
| #072140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.15:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #072140 looks to people with the most common types of color vision deficiency.
#122441Protanopia
no red cones#071e3fDeuteranopia
no green cones#00282dTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #072140; }
.text { color: #072140; }
.border { border: 2px solid #072140; }
.transparent { background-color: rgb(7 33 64 / 50%); }
.gradient { background: linear-gradient(to right, #072140, #0a0740); }
Similar colors
#001f3fMidnight Mirage#011c39Naval Night#002147Oxford Blue#112244Dark Eclipse#0e1d32Trapped Darkness#1c2841Eternal Darkness#0f2d4dMidnight Ocean#012253Subnautical
Questions
- What color is #072140?
- #072140 is a very dark, vivid azure, closest to the named color Midnight Mirage. It belongs to the blue family of colors.
- What is the RGB value of #072140?
- The RGB value is 7, 33, 64: 7 red, 33 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #072140?
- The complementary color is #402607, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #072140?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.15:1. WCAG asks for at least 4.5:1 for normal text.