#1E217D color

#1E217D rgb(30, 33, 125)
Shades of blue

The hex color #1E217D is a dark, moderate blue.

In the RGB color model it is made of 11.8% red, 12.9% green and 49% blue (30, 33, 125).

Its hue angle is 238°, with 61% saturation and 30% lightness. For print, the CMYK equivalent is 76% cyan, 74% magenta, 0% yellow and 51% black.

The closest named color is Midnight Blue (#191970), a difference of 2.7 ΔE, a small difference.

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

#1E217D color codes

HEX#1E217D
RGBrgb(30, 33, 125)
RGB percentrgb(11.8%, 12.9%, 49%)
HSLhsl(238, 61%, 30%)
HSV / HSBhsv(238, 76%, 49%)
CMYKcmyk(76%, 74%, 0%, 51%)
CIE LABlab(19.41, 31.94, -52.06)
CIE LCHlch(19.41, 61.08, 301.53)
CIE XYZxyz(4.78, 2.844, 19.695)
Decimal1974653
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #1e217d; }
.text { color: #1e217d; }
.border { border: 2px solid #1e217d; }
.transparent { background-color: rgb(30 33 125 / 50%); }
.gradient { background: linear-gradient(to right, #1e217d, #4b1e7d); }
Background
Text color
Border

Similar colors

Questions

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