#212274 color

#212274 rgb(33, 34, 116)
Shades of blue

The hex color #212274 is a dark, moderate blue.

In the RGB color model it is made of 12.9% red, 13.3% green and 45.5% blue (33, 34, 116).

Its hue angle is 239°, with 56% saturation and 29% lightness. For print, the CMYK equivalent is 72% cyan, 71% magenta, 0% yellow and 55% black.

The closest named color is Midnight Crest (#112473), a difference of 2.2 ΔE, a small difference.

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

#212274 color codes

HEX#212274
RGBrgb(33, 34, 116)
RGB percentrgb(12.9%, 13.3%, 45.5%)
HSLhsl(239, 56%, 29%)
HSV / HSBhsv(239, 72%, 45%)
CMYKcmyk(72%, 71%, 0%, 55%)
CIE LABlab(18.92, 28.34, -47.1)
CIE LCHlch(18.92, 54.97, 301.04)
CIE XYZxyz(4.351, 2.728, 16.817)
Decimal2171508
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #212274; }
.text { color: #212274; }
.border { border: 2px solid #212274; }
.transparent { background-color: rgb(33 34 116 / 50%); }
.gradient { background: linear-gradient(to right, #212274, #4a2174); }
Background
Text color
Border

Similar colors

Questions

What color is #212274?
#212274 is a dark, moderate blue, closest to the named color Midnight Crest. It belongs to the blue family of colors.
What is the RGB value of #212274?
The RGB value is 33, 34, 116: 33 red, 34 green and 116 blue on a 0 to 255 scale.
What is the complementary color of #212274?
The complementary color is #747321, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212274?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.59:1. WCAG asks for at least 4.5:1 for normal text.