#1F4045 color

#1F4045 rgb(31, 64, 69)
Shades of gray

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
RGBrgb(31, 64, 69)
RGB percentrgb(12.2%, 25.1%, 27.1%)
HSLhsl(188, 38%, 20%)
HSV / HSBhsv(188, 55%, 27%)
CMYKcmyk(55%, 7%, 0%, 73%)
CIE LABlab(24.91, -10.44, -6.79)
CIE LCHlch(24.91, 12.46, 213.01)
CIE XYZxyz(3.472, 4.387, 6.293)
Decimal2048069
Short hexNone (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 #1F4045RatioAAAAAAA large
Sample text1.88:1FailFailFail
Sample text11.18:1PassPassPass
#1F4045 as text onRatioAAAAAAA large
Sample text11.18:1PassPassPass
Sample text1.88:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.