#1F2243 color
The hex color #1F2243 is a very dark, desaturated blue.
In the RGB color model it is made of 12.2% red, 13.3% green and 26.3% blue (31, 34, 67).
Its hue angle is 235°, with 37% saturation and 19% lightness. For print, the CMYK equivalent is 54% cyan, 49% magenta, 0% yellow and 74% black.
The closest named color is Black Market (#222244), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.35:1).
#1F2243 color codes
| HEX | #1F2243 | |
|---|---|---|
| RGB | rgb(31, 34, 67) | |
| RGB percent | rgb(12.2%, 13.3%, 26.3%) | |
| HSL | hsl(235, 37%, 19%) | |
| HSV / HSB | hsv(235, 54%, 26%) | |
| CMYK | cmyk(54%, 49%, 0%, 74%) | |
| CIE LAB | lab(14.63, 9.39, -21.35) | |
| CIE LCH | lch(14.63, 23.33, 293.74) | |
| CIE XYZ | xyz(2.15, 1.84, 5.551) | |
| Decimal | 2040387 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2243, 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 #1F2243 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.35:1 | Pass | Pass | Pass |
| #1F2243 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.35:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #1F2243 looks to people with the most common types of color vision deficiency.
#152644Protanopia
no red cones#122442Deuteranopia
no green cones#12292fTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2243; }
.text { color: #1f2243; }
.border { border: 2px solid #1f2243; }
.transparent { background-color: rgb(31 34 67 / 50%); }
.gradient { background: linear-gradient(to right, #1f2243, #2e1f43); }
Similar colors
#222244Black Market#161d3bNightwalker#2a2243Midnight Velvet#1d2951Space Cadet#112244Dark Eclipse#211d49Azulado#2a2551Pāua#1c1e4dFly-by-Night
Closest common color name: Oxford Blue.
Questions
- What color is #1F2243?
- #1F2243 is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #1F2243?
- The RGB value is 31, 34, 67: 31 red, 34 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #1F2243?
- The complementary color is #43401F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2243?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.35:1. WCAG asks for at least 4.5:1 for normal text.