#212538 color

#212538 rgb(33, 37, 56)
Shades of blue

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

In the RGB color model it is made of 12.9% red, 14.5% green and 22% blue (33, 37, 56).

Its hue angle is 230°, with 26% saturation and 17% lightness. For print, the CMYK equivalent is 41% cyan, 34% magenta, 0% yellow and 78% black.

The closest named color is Midnight Express (#21263A), a difference of 0.6 ΔE, which is barely visible.

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

#212538 color codes

HEX#212538
RGBrgb(33, 37, 56)
RGB percentrgb(12.9%, 14.5%, 22%)
HSLhsl(230, 26%, 17%)
HSV / HSBhsv(230, 41%, 22%)
CMYKcmyk(41%, 34%, 0%, 78%)
CIE LABlab(15.13, 3.93, -12.87)
CIE LCHlch(15.13, 13.45, 286.99)
CIE XYZxyz(2.002, 1.932, 4.008)
Decimal2172216
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #212538; }
.text { color: #212538; }
.border { border: 2px solid #212538; }
.transparent { background-color: rgb(33 37 56 / 50%); }
.gradient { background: linear-gradient(to right, #212538, #292138); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #212538?
#212538 is a very dark, desaturated blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
What is the RGB value of #212538?
The RGB value is 33, 37, 56: 33 red, 37 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #212538?
The complementary color is #383421, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212538?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.15:1. WCAG asks for at least 4.5:1 for normal text.