#1F232D color
The hex color #1F232D is a very dark, grayish blue.
In the RGB color model it is made of 12.2% red, 13.7% green and 17.6% blue (31, 35, 45).
Its hue angle is 223°, with 18% saturation and 15% lightness. For print, the CMYK equivalent is 31% cyan, 22% magenta, 0% yellow and 82% black.
The closest named color is Infinity (#222831), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.71:1).
#1F232D color codes
| HEX | #1F232D | |
|---|---|---|
| RGB | rgb(31, 35, 45) | |
| RGB percent | rgb(12.2%, 13.7%, 17.6%) | |
| HSL | hsl(223, 18%, 15%) | |
| HSV / HSB | hsv(223, 31%, 18%) | |
| CMYK | cmyk(31%, 22%, 0%, 82%) | |
| CIE LAB | lab(13.73, 1.06, -7.22) | |
| CIE LCH | lch(13.73, 7.3, 278.39) | |
| CIE XYZ | xyz(1.64, 1.683, 2.721) | |
| Decimal | 2040621 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F232D, 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 #1F232D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.71:1 | Pass | Pass | Pass |
| #1F232D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.71:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #1F232D looks to people with the most common types of color vision deficiency.
#20242dProtanopia
no red cones#1f222dDeuteranopia
no green cones#1b2526Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1f232d; }
.text { color: #1f232d; }
.border { border: 2px solid #1f232d; }
.transparent { background-color: rgb(31 35 45 / 50%); }
.gradient { background: linear-gradient(to right, #1f232d, #221f2d); }
Similar colors
#222831Infinity#1b2431Dark#1e2433Moonless Mystery#29292fJaguar#292b31Night Sky#28282dAnthracite#27252aDarth Vader#202124Noble Black
Closest common color name: Gunmetal.
Questions
- What color is #1F232D?
- #1F232D is a very dark, grayish blue, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #1F232D?
- The RGB value is 31, 35, 45: 31 red, 35 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #1F232D?
- The complementary color is #2D291F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F232D?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.71:1. WCAG asks for at least 4.5:1 for normal text.