#1B2234 color
The hex color #1B2234 is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 13.3% green and 20.4% blue (27, 34, 52).
Its hue angle is 223°, with 32% saturation and 15% lightness. For print, the CMYK equivalent is 48% cyan, 35% magenta, 0% yellow and 80% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.85:1).
#1B2234 color codes
| HEX | #1B2234 | |
|---|---|---|
| RGB | rgb(27, 34, 52) | |
| RGB percent | rgb(10.6%, 13.3%, 20.4%) | |
| HSL | hsl(223, 32%, 15%) | |
| HSV / HSB | hsv(223, 48%, 20%) | |
| CMYK | cmyk(48%, 35%, 0%, 80%) | |
| CIE LAB | lab(13.38, 2.66, -12.78) | |
| CIE LCH | lch(13.38, 13.06, 281.74) | |
| CIE XYZ | xyz(1.644, 1.625, 3.475) | |
| Decimal | 1778228 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B2234, 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 #1B2234 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.85:1 | Pass | Pass | Pass |
| #1B2234 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.85:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #1B2234 looks to people with the most common types of color vision deficiency.
#1c2435Protanopia
no red cones#192134Deuteranopia
no green cones#132628Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1b2234; }
.text { color: #1b2234; }
.border { border: 2px solid #1b2234; }
.transparent { background-color: rgb(27 34 52 / 50%); }
.gradient { background: linear-gradient(to right, #1b2234, #211b34); }
Similar colors
#1e2433Moonless Mystery#21263aMidnight Express#161e34Sombre Night#1f2133Eclipse Elixir#0e1d32Trapped Darkness#222233Black Velvet#1c2841Eternal Darkness#1b2431Dark
Closest common color name: Oxford Blue.
Questions
- What color is #1B2234?
- #1B2234 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the blue family of colors.
- What is the RGB value of #1B2234?
- The RGB value is 27, 34, 52: 27 red, 34 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #1B2234?
- The complementary color is #342D1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B2234?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.85:1. WCAG asks for at least 4.5:1 for normal text.