#121826 color
The hex color #121826 is a very dark, desaturated blue.
In the RGB color model it is made of 7.1% red, 9.4% green and 14.9% blue (18, 24, 38).
Its hue angle is 222°, with 36% saturation and 11% lightness. For print, the CMYK equivalent is 53% cyan, 37% magenta, 0% yellow and 85% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.73:1).
#121826 color codes
| HEX | #121826 | |
|---|---|---|
| RGB | rgb(18, 24, 38) | |
| RGB percent | rgb(7.1%, 9.4%, 14.9%) | |
| HSL | hsl(222, 36%, 11%) | |
| HSV / HSB | hsv(222, 53%, 15%) | |
| CMYK | cmyk(53%, 37%, 0%, 85%) | |
| CIE LAB | lab(8.32, 1.95, -10.5) | |
| CIE LCH | lch(8.32, 10.68, 280.5) | |
| CIE XYZ | xyz(0.926, 0.922, 1.962) | |
| Decimal | 1185830 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #121826, 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 #121826 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.73:1 | Pass | Pass | Pass |
| #121826 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.73:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #121826 looks to people with the most common types of color vision deficiency.
#131927Protanopia
no red cones#111726Deuteranopia
no green cones#0b1b1dTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #121826; }
.text { color: #121826; }
.border { border: 2px solid #121826; }
.transparent { background-color: rgb(18 24 38 / 50%); }
.gradient { background: linear-gradient(to right, #121826, #161226); }
Similar colors
#1e2433Moonless Mystery#0e1d32Trapped Darkness#111122Corbeau#0c121bMidnight Edition#161e34Sombre Night#1b2431Dark#16161dEigengrau#1f2133Eclipse Elixir
Closest common color name: Rich Black.
Questions
- What color is #121826?
- #121826 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #121826?
- The RGB value is 18, 24, 38: 18 red, 24 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #121826?
- The complementary color is #262012, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #121826?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.73:1. WCAG asks for at least 4.5:1 for normal text.