#1F3D4D color
The hex color #1F3D4D is a dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 23.9% green and 30.2% blue (31, 61, 77).
Its hue angle is 201°, with 43% saturation and 21% lightness. For print, the CMYK equivalent is 60% cyan, 21% magenta, 0% yellow and 70% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.46:1).
#1F3D4D color codes
| HEX | #1F3D4D | |
|---|---|---|
| RGB | rgb(31, 61, 77) | |
| RGB percent | rgb(12.2%, 23.9%, 30.2%) | |
| HSL | hsl(201, 43%, 21%) | |
| HSV / HSB | hsv(201, 60%, 30%) | |
| CMYK | cmyk(60%, 21%, 0%, 70%) | |
| CIE LAB | lab(24.21, -5.81, -13.15) | |
| CIE LCH | lch(24.21, 14.38, 246.15) | |
| CIE XYZ | xyz(3.573, 4.164, 7.635) | |
| Decimal | 2047309 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3D4D, 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 #1F3D4D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.46:1 | Pass | Pass | Pass |
| #1F3D4D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.46:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #1F3D4D looks to people with the most common types of color vision deficiency.
#353c4eProtanopia
no red cones#2f374dDeuteranopia
no green cones#014142Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3d4d; }
.text { color: #1f3d4d; }
.border { border: 2px solid #1f3d4d; }
.transparent { background-color: rgb(31 61 77 / 50%); }
.gradient { background: linear-gradient(to right, #1f3d4d, #1f264d); }
Similar colors
#253f4eDepths of the Nile#1a4157Capital Blue#1e3642Into the Night#203943Astral Nomad#1e3442Blue Whale#243640Petrol Slumber#004058Maniac Mansion#29465bOne Year of Rain
Closest common color name: Charcoal.
Questions
- What color is #1F3D4D?
- #1F3D4D is a dark, desaturated azure, closest to the named color Depths of the Nile. It belongs to the blue family of colors.
- What is the RGB value of #1F3D4D?
- The RGB value is 31, 61, 77: 31 red, 61 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #1F3D4D?
- The complementary color is #4D2F1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3D4D?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.46:1. WCAG asks for at least 4.5:1 for normal text.