#1F2023 color
The hex color #1F2023 is a dark gray.
In the RGB color model it is made of 12.2% red, 12.5% green and 13.7% blue (31, 32, 35).
Its hue angle is 225°, with 6% saturation and 13% lightness. For print, the CMYK equivalent is 11% cyan, 9% magenta, 0% yellow and 86% black.
The closest named color is Noble Black (#202124), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.29:1).
#1F2023 color codes
| HEX | #1F2023 | |
|---|---|---|
| RGB | rgb(31, 32, 35) | |
| RGB percent | rgb(12.2%, 12.5%, 13.7%) | |
| HSL | hsl(225, 6%, 13%) | |
| HSV / HSB | hsv(225, 11%, 14%) | |
| CMYK | cmyk(11%, 9%, 0%, 86%) | |
| CIE LAB | lab(12.26, 0.32, -2.19) | |
| CIE LCH | lch(12.26, 2.21, 278.3) | |
| CIE XYZ | xyz(1.385, 1.446, 1.796) | |
| Decimal | 2039843 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2023, 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 #1F2023 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.29:1 | Pass | Pass | Pass |
| #1F2023 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.29:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #1F2023 looks to people with the most common types of color vision deficiency.
#1f2023Protanopia
no red cones#1f2023Deuteranopia
no green cones#1e2121Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2023; }
.text { color: #1f2023; }
.border { border: 2px solid #1f2023; }
.transparent { background-color: rgb(31 32 35 / 50%); }
.gradient { background: linear-gradient(to right, #1f2023, #201f23); }
Similar colors
#202124Noble Black#1e1e21Inkwell Inception#1c1e21Satin Deep Black#212121Lead#232323Young Night#252525Nero#211e1fUmbra#17171aPiano Black
Closest common color name: Off Black.
Questions
- What color is #1F2023?
- #1F2023 is a dark gray, closest to the named color Noble Black. It belongs to the black family of colors.
- What is the RGB value of #1F2023?
- The RGB value is 31, 32, 35: 31 red, 32 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #1F2023?
- The complementary color is #23221F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2023?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.29:1. WCAG asks for at least 4.5:1 for normal text.