#1F3153 color
The hex color #1F3153 is a dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 19.2% green and 32.5% blue (31, 49, 83).
Its hue angle is 219°, with 46% saturation and 22% lightness. For print, the CMYK equivalent is 63% cyan, 41% magenta, 0% yellow and 67% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.94:1).
#1F3153 color codes
| HEX | #1F3153 | |
|---|---|---|
| RGB | rgb(31, 49, 83) | |
| RGB percent | rgb(12.2%, 19.2%, 32.5%) | |
| HSL | hsl(219, 46%, 22%) | |
| HSV / HSB | hsv(219, 63%, 33%) | |
| CMYK | cmyk(63%, 41%, 0%, 67%) | |
| CIE LAB | lab(20.49, 4.58, -22.94) | |
| CIE LCH | lch(20.49, 23.4, 281.29) | |
| CIE XYZ | xyz(3.224, 3.112, 8.613) | |
| Decimal | 2044243 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3153, 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 #1F3153 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.94:1 | Pass | Pass | Pass |
| #1F3153 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.94:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #1F3153 looks to people with the most common types of color vision deficiency.
#233454Protanopia
no red cones#1c2f52Deuteranopia
no green cones#00393eTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #1f3153; }
.text { color: #1f3153; }
.border { border: 2px solid #1f3153; }
.transparent { background-color: rgb(31 49 83 / 50%); }
.gradient { background: linear-gradient(to right, #1f3153, #271f53); }
Similar colors
#2b3458Midnight Escapade#0f2d4dMidnight Ocean#2e3858Mediaeval Blue#1d2951Space Cadet#273c5aNautilus#1c2841Eternal Darkness#042e60Marine#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #1F3153?
- #1F3153 is a dark, desaturated azure, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #1F3153?
- The RGB value is 31, 49, 83: 31 red, 49 green and 83 blue on a 0 to 255 scale.
- What is the complementary color of #1F3153?
- The complementary color is #53411F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3153?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.94:1. WCAG asks for at least 4.5:1 for normal text.