#1B132E color
The hex color #1B132E is a very dark, desaturated violet.
In the RGB color model it is made of 10.6% red, 7.5% green and 18% blue (27, 19, 46).
Its hue angle is 258°, with 42% saturation and 13% lightness. For print, the CMYK equivalent is 41% cyan, 59% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.81:1).
#1B132E color codes
| HEX | #1B132E | |
|---|---|---|
| RGB | rgb(27, 19, 46) | |
| RGB percent | rgb(10.6%, 7.5%, 18%) | |
| HSL | hsl(258, 42%, 13%) | |
| HSV / HSB | hsv(258, 59%, 18%) | |
| CMYK | cmyk(41%, 59%, 0%, 82%) | |
| CIE LAB | lab(8.09, 11.86, -16.75) | |
| CIE LCH | lch(8.09, 20.52, 305.3) | |
| CIE XYZ | xyz(1.178, 0.896, 2.695) | |
| Decimal | 1774382 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B132E, 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 #1B132E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.81:1 | Pass | Pass | Pass |
| #1B132E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.81:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #1B132E looks to people with the most common types of color vision deficiency.
#0a182fProtanopia
no red cones#0b172dDeuteranopia
no green cones#17181eTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #1b132e; }
.text { color: #1b132e; }
.border { border: 2px solid #1b132e; }
.transparent { background-color: rgb(27 19 46 / 50%); }
.gradient { background: linear-gradient(to right, #1b132e, #29132e); }
Similar colors
#1c0f33Midnight Monarch#2a2243Midnight Velvet#151931Dark Knight#060929Mysterious Depths#222244Black Market#161d3bNightwalker#301934Dark Purple#1d0d1dShot in the Dark
Questions
- What color is #1B132E?
- #1B132E is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1B132E?
- The RGB value is 27, 19, 46: 27 red, 19 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1B132E?
- The complementary color is #262E13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B132E?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.81:1. WCAG asks for at least 4.5:1 for normal text.