#1E217D color
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 | |
|---|---|---|
| RGB | rgb(30, 33, 125) | |
| RGB percent | rgb(11.8%, 12.9%, 49%) | |
| HSL | hsl(238, 61%, 30%) | |
| HSV / HSB | hsv(238, 76%, 49%) | |
| CMYK | cmyk(76%, 74%, 0%, 51%) | |
| CIE LAB | lab(19.41, 31.94, -52.06) | |
| CIE LCH | lch(19.41, 61.08, 301.53) | |
| CIE XYZ | xyz(4.78, 2.844, 19.695) | |
| Decimal | 1974653 | |
| Short hex | None (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 #1E217D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.39:1 | Pass | Pass | Pass |
| #1E217D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.39:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #1E217D looks to people with the most common types of color vision deficiency.
#003480Protanopia
no red cones#002a7bDeuteranopia
no green cones#003b4cTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
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); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#002489Lost in Heaven#072688Naval Adventures#002277Long-Haul Flight#112473Midnight Crest#332277Deep Space Rodeo#301885Indiglow
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.