#1E3251 color
The hex color #1E3251 is a dark, desaturated azure.
In the RGB color model it is made of 11.8% red, 19.6% green and 31.8% blue (30, 50, 81).
Its hue angle is 216°, with 46% saturation and 22% lightness. For print, the CMYK equivalent is 63% cyan, 38% magenta, 0% yellow and 68% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.88:1).
#1E3251 color codes
| HEX | #1E3251 | |
|---|---|---|
| RGB | rgb(30, 50, 81) | |
| RGB percent | rgb(11.8%, 19.6%, 31.8%) | |
| HSL | hsl(216, 46%, 22%) | |
| HSV / HSB | hsv(216, 63%, 32%) | |
| CMYK | cmyk(63%, 38%, 0%, 68%) | |
| CIE LAB | lab(20.64, 2.86, -21.37) | |
| CIE LCH | lch(20.64, 21.56, 277.62) | |
| CIE XYZ | xyz(3.161, 3.151, 8.225) | |
| Decimal | 1978961 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E3251, 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 #1E3251 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.88:1 | Pass | Pass | Pass |
| #1E3251 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.88:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #1E3251 looks to people with the most common types of color vision deficiency.
#253452Protanopia
no red cones#1f2f50Deuteranopia
no green cones#00393dTritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #1e3251; }
.text { color: #1e3251; }
.border { border: 2px solid #1e3251; }
.transparent { background-color: rgb(30 50 81 / 50%); }
.gradient { background: linear-gradient(to right, #1e3251, #241e51); }
Similar colors
#0f2d4dMidnight Ocean#273c5aNautilus#2e3858Mediaeval Blue#1c2841Eternal Darkness#0a3251Beyond the Stars#2b3458Midnight Escapade#003153Prussian Blue#1d2951Space Cadet
Questions
- What color is #1E3251?
- #1E3251 is a dark, desaturated azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #1E3251?
- The RGB value is 30, 50, 81: 30 red, 50 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #1E3251?
- The complementary color is #513D1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E3251?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.88:1. WCAG asks for at least 4.5:1 for normal text.