#12272F color

#12272F rgb(18, 39, 47)
Shades of black

The hex color #12272F is a very dark, desaturated azure.

In the RGB color model it is made of 7.1% red, 15.3% green and 18.4% blue (18, 39, 47).

Its hue angle is 197°, with 45% saturation and 13% lightness. For print, the CMYK equivalent is 62% cyan, 17% magenta, 0% yellow and 82% black.

The closest named color is Black Box (#0F282F), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.48:1).

#12272F color codes

HEX#12272F
RGBrgb(18, 39, 47)
RGB percentrgb(7.1%, 15.3%, 18.4%)
HSLhsl(197, 45%, 13%)
HSV / HSBhsv(197, 62%, 18%)
CMYKcmyk(62%, 17%, 0%, 82%)
CIE LABlab(14.31, -5.59, -7.84)
CIE LCHlch(14.31, 9.62, 234.5)
CIE XYZxyz(1.488, 1.785, 2.955)
Decimal1189679
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12272F, 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 #12272FRatioAAAAAAA large
Sample text1.36:1FailFailFail
Sample text15.48:1PassPassPass
#12272F as text onRatioAAAAAAA large
Sample text15.48:1PassPassPass
Sample text1.36: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 #12272F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12272f; }
.text { color: #12272f; }
.border { border: 2px solid #12272f; }
.transparent { background-color: rgb(18 39 47 / 50%); }
.gradient { background: linear-gradient(to right, #12272f, #12182f); }
Background
Text color
Border

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #12272F?
#12272F is a very dark, desaturated azure, closest to the named color Black Box. It belongs to the black family of colors.
What is the RGB value of #12272F?
The RGB value is 18, 39, 47: 18 red, 39 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #12272F?
The complementary color is #2F1A12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12272F?
White text. Black text has a contrast ratio of 1.36:1 and white text 15.48:1. WCAG asks for at least 4.5:1 for normal text.