#1F2D3E color

#1F2D3E rgb(31, 45, 62)
Shades of gray

The hex color #1F2D3E is a very dark, desaturated azure.

In the RGB color model it is made of 12.2% red, 17.6% green and 24.3% blue (31, 45, 62).

Its hue angle is 213°, with 33% saturation and 18% lightness. For print, the CMYK equivalent is 50% cyan, 27% magenta, 0% yellow and 76% black.

The closest named color is Dark (#1B2431), a difference of 3.4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 13.97:1).

#1F2D3E color codes

HEX#1F2D3E
RGBrgb(31, 45, 62)
RGB percentrgb(12.2%, 17.6%, 24.3%)
HSLhsl(213, 33%, 18%)
HSV / HSBhsv(213, 50%, 24%)
CMYKcmyk(50%, 27%, 0%, 76%)
CIE LABlab(17.99, -0.38, -12.62)
CIE LCHlch(17.99, 12.62, 268.28)
CIE XYZxyz(2.373, 2.516, 4.917)
Decimal2043198
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F2D3E, 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 #1F2D3ERatioAAAAAAA large
Sample text1.5:1FailFailFail
Sample text13.97:1PassPassPass
#1F2D3E as text onRatioAAAAAAA large
Sample text13.97:1PassPassPass
Sample text1.5: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 #1F2D3E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f2d3e; }
.text { color: #1f2d3e; }
.border { border: 2px solid #1f2d3e; }
.transparent { background-color: rgb(31 45 62 / 50%); }
.gradient { background: linear-gradient(to right, #1f2d3e, #201f3e); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #1F2D3E?
#1F2D3E is a very dark, desaturated azure, closest to the named color Dark. It belongs to the gray family of colors.
What is the RGB value of #1F2D3E?
The RGB value is 31, 45, 62: 31 red, 45 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #1F2D3E?
The complementary color is #3E301F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F2D3E?
White text. Black text has a contrast ratio of 1.5:1 and white text 13.97:1. WCAG asks for at least 4.5:1 for normal text.