#1A213C color

#1A213C rgb(26, 33, 60)
Shades of blue

The hex color #1A213C is a very dark, desaturated blue.

In the RGB color model it is made of 10.2% red, 12.9% green and 23.5% blue (26, 33, 60).

Its hue angle is 228°, with 40% saturation and 17% lightness. For print, the CMYK equivalent is 57% cyan, 45% magenta, 0% yellow and 76% black.

The closest named color is Nightwalker (#161D3B), a difference of 1.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.83:1).

#1A213C color codes

HEX#1A213C
RGBrgb(26, 33, 60)
RGB percentrgb(10.2%, 12.9%, 23.5%)
HSLhsl(228, 40%, 17%)
HSV / HSBhsv(228, 57%, 24%)
CMYKcmyk(57%, 45%, 0%, 76%)
CIE LABlab(13.43, 6.04, -18.38)
CIE LCHlch(13.43, 19.35, 288.21)
CIE XYZxyz(1.785, 1.633, 4.495)
Decimal1712444
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1A213C, 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 #1A213CRatioAAAAAAA large
Sample text1.33:1FailFailFail
Sample text15.83:1PassPassPass
#1A213C as text onRatioAAAAAAA large
Sample text15.83:1PassPassPass
Sample text1.33:1FailFailFail

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 #1A213C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1a213c; }
.text { color: #1a213c; }
.border { border: 2px solid #1a213c; }
.transparent { background-color: rgb(26 33 60 / 50%); }
.gradient { background: linear-gradient(to right, #1a213c, #241a3c); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #1A213C?
#1A213C is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the blue family of colors.
What is the RGB value of #1A213C?
The RGB value is 26, 33, 60: 26 red, 33 green and 60 blue on a 0 to 255 scale.
What is the complementary color of #1A213C?
The complementary color is #3C351A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1A213C?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.83:1. WCAG asks for at least 4.5:1 for normal text.