#1F4A45 color
The hex color #1F4A45 is a dark, desaturated spring green.
In the RGB color model it is made of 12.2% red, 29% green and 27.1% blue (31, 74, 69).
Its hue angle is 173°, with 41% saturation and 21% lightness. For print, the CMYK equivalent is 58% cyan, 0% magenta, 7% yellow and 71% black.
The closest named color is Botanical Night (#12403C), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.89:1).
#1F4A45 color codes
| HEX | #1F4A45 | |
|---|---|---|
| RGB | rgb(31, 74, 69) | |
| RGB percent | rgb(12.2%, 29%, 27.1%) | |
| HSL | hsl(173, 41%, 21%) | |
| HSV / HSB | hsv(173, 58%, 29%) | |
| CMYK | cmyk(58%, 0%, 7%, 71%) | |
| CIE LAB | lab(28.43, -16.32, -1.56) | |
| CIE LCH | lch(28.43, 16.4, 185.45) | |
| CIE XYZ | xyz(4.088, 5.618, 6.498) | |
| Decimal | 2050629 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F4A45, 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 #1F4A45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.12:1 | Fail | Fail | Fail |
| Sample text | 9.89:1 | Pass | Pass | Pass |
| #1F4A45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.89:1 | Pass | Pass | Pass |
| Sample text | 2.12: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 #1F4A45 looks to people with the most common types of color vision deficiency.
#464645Protanopia
no red cones#3f4146Deuteranopia
no green cones#044c48Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #1f4a45; }
.text { color: #1f4a45; }
.border { border: 2px solid #1f4a45; }
.transparent { background-color: rgb(31 74 69 / 50%); }
.gradient { background: linear-gradient(to right, #1f4a45, #1f3a4a); }
Similar colors
#12403cBotanical Night#024a43Tropical Forest#014d4eDark Teal#33534bHunter#2f4f4fDark Slate Gray#01554fCape Verde#315955Enchanting Ivy#334d41Pine Needle
Questions
- What color is #1F4A45?
- #1F4A45 is a dark, desaturated spring green, closest to the named color Botanical Night. It belongs to the teal family of colors.
- What is the RGB value of #1F4A45?
- The RGB value is 31, 74, 69: 31 red, 74 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #1F4A45?
- The complementary color is #4A1F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F4A45?
- White text. Black text has a contrast ratio of 2.12:1 and white text 9.89:1. WCAG asks for at least 4.5:1 for normal text.