#1B3147 color
The hex color #1B3147 is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 19.2% green and 27.8% blue (27, 49, 71).
Its hue angle is 210°, with 45% saturation and 19% lightness. For print, the CMYK equivalent is 62% cyan, 31% magenta, 0% yellow and 72% black.
The closest named color is Sea of Stars (#0B334D), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.32:1).
#1B3147 color codes
| HEX | #1B3147 | |
|---|---|---|
| RGB | rgb(27, 49, 71) | |
| RGB percent | rgb(10.6%, 19.2%, 27.8%) | |
| HSL | hsl(210, 45%, 19%) | |
| HSV / HSB | hsv(210, 62%, 28%) | |
| CMYK | cmyk(62%, 31%, 0%, 72%) | |
| CIE LAB | lab(19.57, -1.02, -16.33) | |
| CIE LCH | lch(19.57, 16.36, 266.43) | |
| CIE XYZ | xyz(2.687, 2.884, 6.375) | |
| Decimal | 1782087 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B3147, 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 #1B3147 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.32:1 | Pass | Pass | Pass |
| #1B3147 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.32:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #1B3147 looks to people with the most common types of color vision deficiency.
#283248Protanopia
no red cones#222d47Deuteranopia
no green cones#003639Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #1b3147; }
.text { color: #1b3147; }
.border { border: 2px solid #1b3147; }
.transparent { background-color: rgb(27 49 71 / 50%); }
.gradient { background: linear-gradient(to right, #1b3147, #1b1b47); }
Similar colors
#0b334dSea of Stars#0a3251Beyond the Stars#0f2d4dMidnight Ocean#003153Prussian Blue#1e3442Blue Whale#273c5aNautilus#143c5dPoseidon#1c2841Eternal Darkness
Questions
- What color is #1B3147?
- #1B3147 is a very dark, desaturated azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
- What is the RGB value of #1B3147?
- The RGB value is 27, 49, 71: 27 red, 49 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #1B3147?
- The complementary color is #47311B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B3147?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.32:1. WCAG asks for at least 4.5:1 for normal text.