#212E78 color

#212E78 rgb(33, 46, 120)
Shades of blue

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
RGBrgb(33, 46, 120)
RGB percentrgb(12.9%, 18%, 47.1%)
HSLhsl(231, 57%, 30%)
HSV / HSBhsv(231, 73%, 47%)
CMYKcmyk(73%, 62%, 0%, 53%)
CIE LABlab(22.42, 21.66, -43.94)
CIE LCHlch(22.42, 48.99, 296.25)
CIE XYZxyz(4.993, 3.633, 18.204)
Decimal2174584
Short hexNone (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 #212E78RatioAAAAAAA large
Sample text1.73:1FailFailFail
Sample text12.16:1PassPassPass
#212E78 as text onRatioAAAAAAA large
Sample text12.16:1PassPassPass
Sample text1.73: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 #212E78 looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.