#212E78 color
The hex color #212E78 is a dark, moderate blue.
In the RGB color model it is made of 12.9% red, 18% green and 47.1% blue (33, 46, 120).
Its hue angle is 231°, with 57% saturation and 30% lightness. For print, the CMYK equivalent is 73% cyan, 62% magenta, 0% yellow and 53% black.
The closest named color is Deep Space Royal (#223382), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.16:1).
#212E78 color codes
| HEX | #212E78 | |
|---|---|---|
| RGB | rgb(33, 46, 120) | |
| RGB percent | rgb(12.9%, 18%, 47.1%) | |
| HSL | hsl(231, 57%, 30%) | |
| HSV / HSB | hsv(231, 73%, 47%) | |
| CMYK | cmyk(73%, 62%, 0%, 53%) | |
| CIE LAB | lab(22.42, 21.66, -43.94) | |
| CIE LCH | lch(22.42, 48.99, 296.25) | |
| CIE XYZ | xyz(4.993, 3.633, 18.204) | |
| Decimal | 2174584 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212E78, 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 #212E78 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.16:1 | Pass | Pass | Pass |
| #212E78 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.16:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #212E78 looks to people with the most common types of color vision deficiency.
#003a7aProtanopia
no red cones#003277Deuteranopia
no green cones#00404eTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #212e78; }
.text { color: #212e78; }
.border { border: 2px solid #212e78; }
.transparent { background-color: rgb(33 46 120 / 50%); }
.gradient { background: linear-gradient(to right, #212e78, #402178); }
Similar colors
#223382Deep Space Royal#1c3378Twilight Express#0a2f7cBelow the Surface#273287Intergalactic Highway#112473Midnight Crest#082567Dark Sapphire#002277Long-Haul Flight#003388One Minute to Midnight
Closest common color name: Midnight Blue.
Questions
- What color is #212E78?
- #212E78 is a dark, moderate blue, closest to the named color Deep Space Royal. It belongs to the blue family of colors.
- What is the RGB value of #212E78?
- The RGB value is 33, 46, 120: 33 red, 46 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #212E78?
- The complementary color is #786B21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212E78?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.16:1. WCAG asks for at least 4.5:1 for normal text.