#222839 color

#222839 rgb(34, 40, 57)
Shades of gray

The hex color #222839 is a very dark, desaturated blue.

In the RGB color model it is made of 13.3% red, 15.7% green and 22.4% blue (34, 40, 57).

Its hue angle is 224°, with 25% saturation and 18% lightness. For print, the CMYK equivalent is 40% cyan, 30% magenta, 0% yellow and 78% black.

The closest named color is Moonless Mystery (#1E2433), a difference of 1.6 ΔE, which is barely visible.

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

#222839 color codes

HEX#222839
RGBrgb(34, 40, 57)
RGB percentrgb(13.3%, 15.7%, 22.4%)
HSLhsl(224, 25%, 18%)
HSV / HSBhsv(224, 40%, 22%)
CMYKcmyk(40%, 30%, 0%, 78%)
CIE LABlab(16.27, 2.46, -11.79)
CIE LCHlch(16.27, 12.04, 281.78)
CIE XYZxyz(2.157, 2.153, 4.172)
Decimal2238521
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #222839, 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 #222839RatioAAAAAAA large
Sample text1.43:1FailFailFail
Sample text14.68:1PassPassPass
#222839 as text onRatioAAAAAAA large
Sample text14.68:1PassPassPass
Sample text1.43: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 #222839 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #222839; }
.text { color: #222839; }
.border { border: 2px solid #222839; }
.transparent { background-color: rgb(34 40 57 / 50%); }
.gradient { background: linear-gradient(to right, #222839, #272239); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #222839?
#222839 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the gray family of colors.
What is the RGB value of #222839?
The RGB value is 34, 40, 57: 34 red, 40 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #222839?
The complementary color is #393322, found by rotating the hue 180° on the color wheel.
Is black or white text better on #222839?
White text. Black text has a contrast ratio of 1.43:1 and white text 14.68:1. WCAG asks for at least 4.5:1 for normal text.