#121B27 color
The hex color #121B27 is a very dark, desaturated azure.
In the RGB color model it is made of 7.1% red, 10.6% green and 15.3% blue (18, 27, 39).
Its hue angle is 214°, with 37% saturation and 11% lightness. For print, the CMYK equivalent is 54% cyan, 31% magenta, 0% yellow and 85% black.
The closest named color is The Count’s Black (#102030), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.33:1).
#121B27 color codes
| HEX | #121B27 | |
|---|---|---|
| RGB | rgb(18, 27, 39) | |
| RGB percent | rgb(7.1%, 10.6%, 15.3%) | |
| HSL | hsl(214, 37%, 11%) | |
| HSV / HSB | hsv(214, 54%, 15%) | |
| CMYK | cmyk(54%, 31%, 0%, 85%) | |
| CIE LAB | lab(9.47, 0.04, -9.46) | |
| CIE LCH | lch(9.47, 9.46, 270.23) | |
| CIE XYZ | xyz(1.007, 1.059, 2.07) | |
| Decimal | 1186599 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #121B27, 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 #121B27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.33:1 | Pass | Pass | Pass |
| #121B27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.33:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #121B27 looks to people with the most common types of color vision deficiency.
#171c28Protanopia
no red cones#141a27Deuteranopia
no green cones#0a1e1fTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #121b27; }
.text { color: #121b27; }
.border { border: 2px solid #121b27; }
.transparent { background-color: rgb(18 27 39 / 50%); }
.gradient { background: linear-gradient(to right, #121b27, #141227); }
Similar colors
#102030The Count’s Black#1b2431Dark#0c121bMidnight Edition#1e2433Moonless Mystery#0e1d32Trapped Darkness#222831Infinity#001b2eOxford by Night#16161dEigengrau
Closest common color name: Rich Black.
Questions
- What color is #121B27?
- #121B27 is a very dark, desaturated azure, closest to the named color The Count’s Black. It belongs to the black family of colors.
- What is the RGB value of #121B27?
- The RGB value is 18, 27, 39: 18 red, 27 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #121B27?
- The complementary color is #271E12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #121B27?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.33:1. WCAG asks for at least 4.5:1 for normal text.