#1B003B color

#1B003B rgb(27, 0, 59)
Shades of black

The hex color #1B003B is a very dark, vivid violet.

In the RGB color model it is made of 10.6% red, 0% green and 23.1% blue (27, 0, 59).

Its hue angle is 267°, with 100% saturation and 12% lightness. For print, the CMYK equivalent is 54% cyan, 100% magenta, 0% yellow and 77% black.

The closest named color is Your Darkness (#220044), a difference of 2.4 ΔE, a small difference.

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

#1B003B color codes

HEX#1B003B
RGBrgb(27, 0, 59)
RGB percentrgb(10.6%, 0%, 23.1%)
HSLhsl(267, 100%, 12%)
HSV / HSBhsv(267, 100%, 23%)
CMYKcmyk(54%, 100%, 0%, 77%)
CIE LABlab(4.96, 27.41, -31.32)
CIE LCHlch(4.96, 41.62, 311.19)
CIE XYZxyz(1.241, 0.549, 4.177)
Decimal1769531
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B003B, 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 #1B003BRatioAAAAAAA large
Sample text1.11:1FailFailFail
Sample text18.92:1PassPassPass
#1B003B as text onRatioAAAAAAA large
Sample text18.92:1PassPassPass
Sample text1.11: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 #1B003B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b003b; }
.text { color: #1b003b; }
.border { border: 2px solid #1b003b; }
.transparent { background-color: rgb(27 0 59 / 50%); }
.gradient { background: linear-gradient(to right, #1b003b, #38003b); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #1B003B?
#1B003B is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
What is the RGB value of #1B003B?
The RGB value is 27, 0, 59: 27 red, 0 green and 59 blue on a 0 to 255 scale.
What is the complementary color of #1B003B?
The complementary color is #203B00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B003B?
White text. Black text has a contrast ratio of 1.11:1 and white text 18.92:1. WCAG asks for at least 4.5:1 for normal text.