#1D1768 color
The hex color #1D1768 is a dark, moderate blue.
In the RGB color model it is made of 11.4% red, 9% green and 40.8% blue (29, 23, 104).
Its hue angle is 244°, with 64% saturation and 25% lightness. For print, the CMYK equivalent is 72% cyan, 78% magenta, 0% yellow and 59% black.
The closest named color is Midnight Blue (#191970), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.28:1).
#1D1768 color codes
| HEX | #1D1768 | |
|---|---|---|
| RGB | rgb(29, 23, 104) | |
| RGB percent | rgb(11.4%, 9%, 40.8%) | |
| HSL | hsl(244, 64%, 25%) | |
| HSV / HSB | hsv(244, 78%, 41%) | |
| CMYK | cmyk(72%, 78%, 0%, 59%) | |
| CIE LAB | lab(14.81, 30.51, -46.07) | |
| CIE LCH | lch(14.81, 55.26, 303.51) | |
| CIE XYZ | xyz(3.311, 1.873, 13.281) | |
| Decimal | 1906536 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1768, 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 #1D1768 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.28:1 | Pass | Pass | Pass |
| #1D1768 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.28:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #1D1768 looks to people with the most common types of color vision deficiency.
#00296aProtanopia
no red cones#002267Deuteranopia
no green cones#002e3eTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #1d1768; }
.text { color: #1d1768; }
.border { border: 2px solid #1d1768; }
.transparent { background-color: rgb(29 23 104 / 50%); }
.gradient { background: linear-gradient(to right, #1d1768, #461768); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#111166Dying Storm Blue#150f5bSpace Colonisation#222266Intergalactic Cowboy#2d135fVoldemort#2f1064Infinite Inkwell#332277Deep Space Rodeo
Questions
- What color is #1D1768?
- #1D1768 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 #1D1768?
- The RGB value is 29, 23, 104: 29 red, 23 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #1D1768?
- The complementary color is #626817, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1768?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.28:1. WCAG asks for at least 4.5:1 for normal text.