#1B1A3A color
The hex color #1B1A3A is a very dark, desaturated blue.
In the RGB color model it is made of 10.6% red, 10.2% green and 22.7% blue (27, 26, 58).
Its hue angle is 242°, with 38% saturation and 16% lightness. For print, the CMYK equivalent is 53% cyan, 55% magenta, 0% yellow and 77% black.
The closest named color is Black Market (#222244), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.73:1).
#1B1A3A color codes
| HEX | #1B1A3A | |
|---|---|---|
| RGB | rgb(27, 26, 58) | |
| RGB percent | rgb(10.6%, 10.2%, 22.7%) | |
| HSL | hsl(242, 38%, 16%) | |
| HSV / HSB | hsv(242, 55%, 23%) | |
| CMYK | cmyk(53%, 55%, 0%, 77%) | |
| CIE LAB | lab(11.12, 10.86, -20.64) | |
| CIE LCH | lch(11.12, 23.32, 297.76) | |
| CIE XYZ | xyz(1.585, 1.277, 4.165) | |
| Decimal | 1776186 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B1A3A, 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 #1B1A3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.73:1 | Pass | Pass | Pass |
| #1B1A3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.73:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #1B1A3A looks to people with the most common types of color vision deficiency.
#0d1f3bProtanopia
no red cones#0b1d39Deuteranopia
no green cones#112127Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #1b1a3a; }
.text { color: #1b1a3a; }
.border { border: 2px solid #1b1a3a; }
.transparent { background-color: rgb(27 26 58 / 50%); }
.gradient { background: linear-gradient(to right, #1b1a3a, #2b1a3a); }
Similar colors
#222244Black Market#161d3bNightwalker#2a2243Midnight Velvet#151931Dark Knight#211d49Azulado#071037Infinite Night#1c1e4dFly-by-Night#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #1B1A3A?
- #1B1A3A is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the black family of colors.
- What is the RGB value of #1B1A3A?
- The RGB value is 27, 26, 58: 27 red, 26 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #1B1A3A?
- The complementary color is #393A1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B1A3A?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.73:1. WCAG asks for at least 4.5:1 for normal text.