#12183E color

#12183E rgb(18, 24, 62)
Shades of black

The hex color #12183E is a very dark, moderate blue.

In the RGB color model it is made of 7.1% red, 9.4% green and 24.3% blue (18, 24, 62).

Its hue angle is 232°, with 55% saturation and 16% lightness. For print, the CMYK equivalent is 71% cyan, 61% magenta, 0% yellow and 76% black.

The closest named color is Infinite Night (#071037), a difference of 2.4 ΔE, a small difference.

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

#12183E color codes

HEX#12183E
RGBrgb(18, 24, 62)
RGB percentrgb(7.1%, 9.4%, 24.3%)
HSLhsl(232, 55%, 16%)
HSV / HSBhsv(232, 71%, 24%)
CMYKcmyk(71%, 61%, 0%, 76%)
CIE LABlab(10.03, 11.69, -25.28)
CIE LCHlch(10.03, 27.85, 294.82)
CIE XYZxyz(1.445, 1.13, 4.698)
Decimal1185854
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12183E, 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 #12183ERatioAAAAAAA large
Sample text1.23:1FailFailFail
Sample text17.13:1PassPassPass
#12183E as text onRatioAAAAAAA large
Sample text17.13:1PassPassPass
Sample text1.23: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 #12183E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12183e; }
.text { color: #12183e; }
.border { border: 2px solid #12183e; }
.transparent { background-color: rgb(18 24 62 / 50%); }
.gradient { background: linear-gradient(to right, #12183e, #22123e); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #12183E?
#12183E is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
What is the RGB value of #12183E?
The RGB value is 18, 24, 62: 18 red, 24 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #12183E?
The complementary color is #3E3812, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12183E?
White text. Black text has a contrast ratio of 1.23:1 and white text 17.13:1. WCAG asks for at least 4.5:1 for normal text.