#1F4140 color
The hex color #1F4140 is a very dark, desaturated cyan.
In the RGB color model it is made of 12.2% red, 25.5% green and 25.1% blue (31, 65, 64).
Its hue angle is 178°, with 35% saturation and 19% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 2% yellow and 75% black.
The closest named color is Emerald Forest (#224347), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.12:1).
#1F4140 color codes
| HEX | #1F4140 | |
|---|---|---|
| RGB | rgb(31, 65, 64) | |
| RGB percent | rgb(12.2%, 25.5%, 25.1%) | |
| HSL | hsl(178, 35%, 19%) | |
| HSV / HSB | hsv(178, 52%, 25%) | |
| CMYK | cmyk(52%, 0%, 2%, 75%) | |
| CIE LAB | lab(25.08, -12.64, -3.23) | |
| CIE LCH | lch(25.08, 13.05, 194.33) | |
| CIE XYZ | xyz(3.38, 4.442, 5.529) | |
| Decimal | 2048320 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F4140, 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 #1F4140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.12:1 | Pass | Pass | Pass |
| #1F4140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.12:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #1F4140 looks to people with the most common types of color vision deficiency.
#3d3e40Protanopia
no red cones#373a40Deuteranopia
no green cones#0d4341Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #1f4140; }
.text { color: #1f4140; }
.border { border: 2px solid #1f4140; }
.transparent { background-color: rgb(31 65 64 / 50%); }
.gradient { background: linear-gradient(to right, #1f4140, #1f3141); }
Similar colors
#224347Emerald Forest#12403cBotanical Night#27454aMysterious Waters#2f4f4fDark Slate Gray#1c3d44Sunken Harbour#133337Elite Teal#1c3b42Royal Neptune#2d454aLittle Mermaid
Questions
- What color is #1F4140?
- #1F4140 is a very dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the teal family of colors.
- What is the RGB value of #1F4140?
- The RGB value is 31, 65, 64: 31 red, 65 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #1F4140?
- The complementary color is #411F20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F4140?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.12:1. WCAG asks for at least 4.5:1 for normal text.