#121826 color

#121826 rgb(18, 24, 38)
Shades of black

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
RGBrgb(18, 24, 38)
RGB percentrgb(7.1%, 9.4%, 14.9%)
HSLhsl(222, 36%, 11%)
HSV / HSBhsv(222, 53%, 15%)
CMYKcmyk(53%, 37%, 0%, 85%)
CIE LABlab(8.32, 1.95, -10.5)
CIE LCHlch(8.32, 10.68, 280.5)
CIE XYZxyz(0.926, 0.922, 1.962)
Decimal1185830
Short hexNone (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 #121826RatioAAAAAAA large
Sample text1.18:1FailFailFail
Sample text17.73:1PassPassPass
#121826 as text onRatioAAAAAAA large
Sample text17.73:1PassPassPass
Sample text1.18: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 #121826 looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.