#1F4045 color
The hex color #1F4045 is a very dark, desaturated cyan.
In the RGB color model it is made of 12.2% red, 25.1% green and 27.1% blue (31, 64, 69).
Its hue angle is 188°, with 38% saturation and 20% lightness. For print, the CMYK equivalent is 55% cyan, 7% magenta, 0% yellow and 73% black.
The closest named color is Emerald Forest (#224347), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.18:1).
#1F4045 color codes
| HEX | #1F4045 | |
|---|---|---|
| RGB | rgb(31, 64, 69) | |
| RGB percent | rgb(12.2%, 25.1%, 27.1%) | |
| HSL | hsl(188, 38%, 20%) | |
| HSV / HSB | hsv(188, 55%, 27%) | |
| CMYK | cmyk(55%, 7%, 0%, 73%) | |
| CIE LAB | lab(24.91, -10.44, -6.79) | |
| CIE LCH | lch(24.91, 12.46, 213.01) | |
| CIE XYZ | xyz(3.472, 4.387, 6.293) | |
| Decimal | 2048069 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F4045, 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 #1F4045 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.18:1 | Pass | Pass | Pass |
| #1F4045 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.18:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #1F4045 looks to people with the most common types of color vision deficiency.
#3b3e45Protanopia
no red cones#353945Deuteranopia
no green cones#094341Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #1f4045; }
.text { color: #1f4045; }
.border { border: 2px solid #1f4045; }
.transparent { background-color: rgb(31 64 69 / 50%); }
.gradient { background: linear-gradient(to right, #1f4045, #1f2d45); }
Similar colors
#224347Emerald Forest#1c3d44Sunken Harbour#27454aMysterious Waters#1c3b42Royal Neptune#2d454aLittle Mermaid#133337Elite Teal#154250Cold and Dark#203943Astral Nomad
Closest common color name: Dark Slate Gray.
Questions
- What color is #1F4045?
- #1F4045 is a very dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #1F4045?
- The RGB value is 31, 64, 69: 31 red, 64 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #1F4045?
- The complementary color is #45241F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F4045?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.18:1. WCAG asks for at least 4.5:1 for normal text.