#12183E color
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 | |
|---|---|---|
| RGB | rgb(18, 24, 62) | |
| RGB percent | rgb(7.1%, 9.4%, 24.3%) | |
| HSL | hsl(232, 55%, 16%) | |
| HSV / HSB | hsv(232, 71%, 24%) | |
| CMYK | cmyk(71%, 61%, 0%, 76%) | |
| CIE LAB | lab(10.03, 11.69, -25.28) | |
| CIE LCH | lch(10.03, 27.85, 294.82) | |
| CIE XYZ | xyz(1.445, 1.13, 4.698) | |
| Decimal | 1185854 | |
| Short hex | None (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 #12183E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.13:1 | Pass | Pass | Pass |
| #12183E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.13:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #12183E looks to people with the most common types of color vision deficiency.
#021e3fProtanopia
no red cones#001a3dDeuteranopia
no green cones#002128Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
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); }
Similar colors
#071037Infinite Night#161d3bNightwalker#1c1e4dFly-by-Night#211d49Azulado#222244Black Market#111144Deadly Depths#041330Squid’s Ink#231c4dSilent Orbit
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.