About #1B1B8D
#1B1B8D is a medium-dark, saturated indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 141 (55%) and red the weakest at 27 (11%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is step 700 in the generated indigo scale on this site.
Color conversions
| HEX | #1B1B8D |
|---|---|
| RGB | rgb(27, 27, 141) |
| RGB percent | rgb(10.6%, 10.6%, 55.3%) |
| HSL | hsl(240, 68%, 33%) |
| HSV / HSB | hsv(240, 81%, 55%) |
| CMYK | cmyk(81%, 81%, 0%, 45%) |
| CIELAB (D65) | lab(19.8 40.8 -61.5) |
| Decimal | 1776525 |
| Binary | 00011011 00011011 10001101 |
HEX 1B 1B 8D → 27, 27, 141 (each pair is a base-16 number: 1×16 + B = 27)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #1B1B8D
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #1B1B8D | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 13.22:1 | Pass | Pass | Pass | Pass |
| Black text | 1.59:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0294 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#003690
Deuteranopia#002a8b
Tritanopia#003e54
Achromatopsia#303030
People with red–green color blindness see this color almost unchanged (ΔE 4.9 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| darkblue | #00008b | 4.5 |
| midnightblue | #191970 | 4.5 |
| navy | #000080 | 5.1 |
| indigo | #4b0082 | 7.8 |
CSS
.element {
color: #1b1b8d;
background-color: rgb(27, 27, 141);
border: 1px solid hsl(240, 68%, 33%);
box-shadow: 0 2px 8px rgb(27 27 141 / 50%);
}
:root { --brand: #1b1b8d; }