#212362 color
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 | |
|---|---|---|
| RGB | rgb(33, 35, 98) | |
| RGB percent | rgb(12.9%, 13.7%, 38.4%) | |
| HSL | hsl(238, 50%, 26%) | |
| HSV / HSB | hsv(238, 66%, 38%) | |
| CMYK | cmyk(66%, 64%, 0%, 62%) | |
| CIE LAB | lab(17.49, 20.9, -37.71) | |
| CIE LCH | lch(17.49, 43.11, 299) | |
| CIE XYZ | xyz(3.432, 2.407, 11.837) | |
| Decimal | 2171746 | |
| Short hex | None (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 #212362 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.18:1 | Pass | Pass | Pass |
| #212362 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.18:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #212362 looks to people with the most common types of color vision deficiency.
#002e64Protanopia
no red cones#002861Deuteranopia
no green cones#00323eTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
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); }
Similar colors
#222266Intergalactic Cowboy#2e2364Indie Go#222255Spacescape#112358Fibonacci Blue#082567Dark Sapphire#112255Dark Soul#112473Midnight Crest#002266Midnight Melancholia
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.