#212362 color

#212362 rgb(33, 35, 98)
Shades of blue

The hex color #212362 is a dark, desaturated blue.

In the RGB color model it is made of 12.9% red, 13.7% green and 38.4% blue (33, 35, 98).

Its hue angle is 238°, with 50% saturation and 26% lightness. For print, the CMYK equivalent is 66% cyan, 64% magenta, 0% yellow and 62% black.

The closest named color is Intergalactic Cowboy (#222266), a difference of 1 ΔE, which is barely visible.

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

#212362 color codes

HEX#212362
RGBrgb(33, 35, 98)
RGB percentrgb(12.9%, 13.7%, 38.4%)
HSLhsl(238, 50%, 26%)
HSV / HSBhsv(238, 66%, 38%)
CMYKcmyk(66%, 64%, 0%, 62%)
CIE LABlab(17.49, 20.9, -37.71)
CIE LCHlch(17.49, 43.11, 299)
CIE XYZxyz(3.432, 2.407, 11.837)
Decimal2171746
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #212362; }
.text { color: #212362; }
.border { border: 2px solid #212362; }
.transparent { background-color: rgb(33 35 98 / 50%); }
.gradient { background: linear-gradient(to right, #212362, #402162); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #212362?
#212362 is a dark, desaturated blue, closest to the named color Intergalactic Cowboy. It belongs to the blue family of colors.
What is the RGB value of #212362?
The RGB value is 33, 35, 98: 33 red, 35 green and 98 blue on a 0 to 255 scale.
What is the complementary color of #212362?
The complementary color is #626021, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212362?
White text. Black text has a contrast ratio of 1.48:1 and white text 14.18:1. WCAG asks for at least 4.5:1 for normal text.