#1F084D color
The hex color #1F084D is a very dark, vivid violet.
In the RGB color model it is made of 12.2% red, 3.1% green and 30.2% blue (31, 8, 77).
Its hue angle is 260°, with 81% saturation and 17% lightness. For print, the CMYK equivalent is 60% cyan, 90% magenta, 0% yellow and 70% black.
The closest named color is Silent Twilight (#0F084B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.5:1).
#1F084D color codes
| HEX | #1F084D | |
|---|---|---|
| RGB | rgb(31, 8, 77) | |
| RGB percent | rgb(12.2%, 3.1%, 30.2%) | |
| HSL | hsl(260, 81%, 17%) | |
| HSV / HSB | hsv(260, 90%, 30%) | |
| CMYK | cmyk(60%, 90%, 0%, 70%) | |
| CIE LAB | lab(9, 30.09, -37.43) | |
| CIE LCH | lch(9, 48.02, 308.79) | |
| CIE XYZ | xyz(1.991, 1.001, 7.108) | |
| Decimal | 2033741 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F084D, 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 #1F084D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.5:1 | Pass | Pass | Pass |
| #1F084D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.5:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #1F084D looks to people with the most common types of color vision deficiency.
#001b4fProtanopia
no red cones#00184cDeuteranopia
no green cones#0c1d2bTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #1f084d; }
.text { color: #1f084d; }
.border { border: 2px solid #1f084d; }
.transparent { background-color: rgb(31 8 77 / 50%); }
.gradient { background: linear-gradient(to right, #1f084d, #41084d); }
Similar colors
#0f084bSilent Twilight#220044Your Darkness#0a0555Ravenclaw#150f5bSpace Colonisation#2d135fVoldemort#330055Hollow Knight#2f1064Infinite Inkwell#340059Cotinga Purple
Closest common color name: Midnight Blue.
Questions
- What color is #1F084D?
- #1F084D is a very dark, vivid violet, closest to the named color Silent Twilight. It belongs to the black family of colors.
- What is the RGB value of #1F084D?
- The RGB value is 31, 8, 77: 31 red, 8 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #1F084D?
- The complementary color is #364D08, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F084D?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.5:1. WCAG asks for at least 4.5:1 for normal text.