#1F084D color

#1F084D rgb(31, 8, 77)
Shades of black

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
RGBrgb(31, 8, 77)
RGB percentrgb(12.2%, 3.1%, 30.2%)
HSLhsl(260, 81%, 17%)
HSV / HSBhsv(260, 90%, 30%)
CMYKcmyk(60%, 90%, 0%, 70%)
CIE LABlab(9, 30.09, -37.43)
CIE LCHlch(9, 48.02, 308.79)
CIE XYZxyz(1.991, 1.001, 7.108)
Decimal2033741
Short hexNone (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 #1F084DRatioAAAAAAA large
Sample text1.2:1FailFailFail
Sample text17.5:1PassPassPass
#1F084D as text onRatioAAAAAAA large
Sample text17.5:1PassPassPass
Sample text1.2: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 #1F084D looks to people with the most common types of color vision deficiency.

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

Similar colors

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.