#1B003B color
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 | |
|---|---|---|
| RGB | rgb(27, 0, 59) | |
| RGB percent | rgb(10.6%, 0%, 23.1%) | |
| HSL | hsl(267, 100%, 12%) | |
| HSV / HSB | hsv(267, 100%, 23%) | |
| CMYK | cmyk(54%, 100%, 0%, 77%) | |
| CIE LAB | lab(4.96, 27.41, -31.32) | |
| CIE LCH | lch(4.96, 41.62, 311.19) | |
| CIE XYZ | xyz(1.241, 0.549, 4.177) | |
| Decimal | 1769531 | |
| Short hex | None (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 #1B003B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.92:1 | Pass | Pass | Pass |
| #1B003B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.92:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #1B003B looks to people with the most common types of color vision deficiency.
#00113dProtanopia
no red cones#00103aDeuteranopia
no green cones#12111fTritanopia
no blue cones#111111Achromatopsia
no color vision
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); }
Similar colors
#220044Your Darkness#160435Quiet Abyss#220033Coal Mine#0f084bSilent Twilight#000044Endless Galaxy#111144Deadly Depths#1c0f33Midnight Monarch#330055Hollow Knight
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.