#1F2033 color
The hex color #1F2033 is a very dark, grayish blue.
In the RGB color model it is made of 12.2% red, 12.5% green and 20% blue (31, 32, 51).
Its hue angle is 237°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 39% cyan, 37% magenta, 0% yellow and 80% black.
The closest named color is Eclipse Elixir (#1F2133), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16:1).
#1F2033 color codes
| HEX | #1F2033 | |
|---|---|---|
| RGB | rgb(31, 32, 51) | |
| RGB percent | rgb(12.2%, 12.5%, 20%) | |
| HSL | hsl(237, 24%, 16%) | |
| HSV / HSB | hsv(237, 39%, 20%) | |
| CMYK | cmyk(39%, 37%, 0%, 80%) | |
| CIE LAB | lab(13, 5.2, -12.63) | |
| CIE LCH | lch(13, 13.66, 292.37) | |
| CIE XYZ | xyz(1.679, 1.563, 3.345) | |
| Decimal | 2039859 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2033, 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 #1F2033 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16:1 | Pass | Pass | Pass |
| #1F2033 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #1F2033 looks to people with the most common types of color vision deficiency.
#1a2234Protanopia
no red cones#192133Deuteranopia
no green cones#1a2427Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2033; }
.text { color: #1f2033; }
.border { border: 2px solid #1f2033; }
.transparent { background-color: rgb(31 32 51 / 50%); }
.gradient { background: linear-gradient(to right, #1f2033, #281f33); }
Similar colors
#1f2133Eclipse Elixir#222233Black Velvet#21263aMidnight Express#161e34Sombre Night#151931Dark Knight#1e2433Moonless Mystery#111122Corbeau#161d3bNightwalker
Closest common color name: Oxford Blue.
Questions
- What color is #1F2033?
- #1F2033 is a very dark, grayish blue, closest to the named color Eclipse Elixir. It belongs to the blue family of colors.
- What is the RGB value of #1F2033?
- The RGB value is 31, 32, 51: 31 red, 32 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #1F2033?
- The complementary color is #33321F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2033?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16:1. WCAG asks for at least 4.5:1 for normal text.