#072140 color

#072140 rgb(7, 33, 64)
Shades of blue

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
RGBrgb(7, 33, 64)
RGB percentrgb(2.7%, 12.9%, 25.1%)
HSLhsl(213, 80%, 14%)
HSV / HSBhsv(213, 89%, 25%)
CMYKcmyk(89%, 48%, 0%, 75%)
CIE LABlab(12.63, 3.58, -22.54)
CIE LCHlch(12.63, 22.82, 279.04)
CIE XYZxyz(1.557, 1.503, 5.058)
Decimal467264
Short hexNone (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 #072140RatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.15:1PassPassPass
#072140 as text onRatioAAAAAAA large
Sample text16.15:1PassPassPass
Sample text1.3:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.