#1D1B6A color
The hex color #1D1B6A is a dark, moderate blue.
In the RGB color model it is made of 11.4% red, 10.6% green and 41.6% blue (29, 27, 106).
Its hue angle is 242°, with 59% saturation and 26% lightness. For print, the CMYK equivalent is 73% cyan, 75% magenta, 0% yellow and 58% black.
The closest named color is Midnight Blue (#191970), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.82:1).
#1D1B6A color codes
| HEX | #1D1B6A | |
|---|---|---|
| RGB | rgb(29, 27, 106) | |
| RGB percent | rgb(11.4%, 10.6%, 41.6%) | |
| HSL | hsl(242, 59%, 26%) | |
| HSV / HSB | hsv(242, 75%, 42%) | |
| CMYK | cmyk(73%, 75%, 0%, 58%) | |
| CIE LAB | lab(15.93, 28.71, -45.54) | |
| CIE LCH | lch(15.93, 53.83, 302.23) | |
| CIE XYZ | xyz(3.499, 2.085, 13.851) | |
| Decimal | 1907562 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1B6A, 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 #1D1B6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.82:1 | Pass | Pass | Pass |
| #1D1B6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.82:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #1D1B6A looks to people with the most common types of color vision deficiency.
#002b6cProtanopia
no red cones#002469Deuteranopia
no green cones#003140Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1d1b6a; }
.text { color: #1d1b6a; }
.border { border: 2px solid #1d1b6a; }
.transparent { background-color: rgb(29 27 106 / 50%); }
.gradient { background: linear-gradient(to right, #1d1b6a, #441b6a); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#222266Intergalactic Cowboy#111166Dying Storm Blue#112473Midnight Crest#150f5bSpace Colonisation#332277Deep Space Rodeo#2e2364Indie Go
Questions
- What color is #1D1B6A?
- #1D1B6A is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of #1D1B6A?
- The RGB value is 29, 27, 106: 29 red, 27 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #1D1B6A?
- The complementary color is #686A1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1B6A?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.82:1. WCAG asks for at least 4.5:1 for normal text.