#1A1F37 color

#1A1F37 rgb(26, 31, 55)
Shades of blue

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

In the RGB color model it is made of 10.2% red, 12.2% green and 21.6% blue (26, 31, 55).

Its hue angle is 230°, with 36% saturation and 16% lightness. For print, the CMYK equivalent is 53% cyan, 44% magenta, 0% yellow and 78% black.

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

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

#1A1F37 color codes

HEX#1A1F37
RGBrgb(26, 31, 55)
RGB percentrgb(10.2%, 12.2%, 21.6%)
HSLhsl(230, 36%, 16%)
HSV / HSBhsv(230, 53%, 22%)
CMYKcmyk(53%, 44%, 0%, 78%)
CIE LABlab(12.45, 5.66, -16.39)
CIE LCHlch(12.45, 17.33, 289.04)
CIE XYZxyz(1.605, 1.475, 3.814)
Decimal1711927
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1A1F37, 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 #1A1F37RatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.22:1PassPassPass
#1A1F37 as text onRatioAAAAAAA large
Sample text16.22:1PassPassPass
Sample text1.3: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 #1A1F37 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1a1f37; }
.text { color: #1a1f37; }
.border { border: 2px solid #1a1f37; }
.transparent { background-color: rgb(26 31 55 / 50%); }
.gradient { background: linear-gradient(to right, #1a1f37, #231a37); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #1A1F37?
#1A1F37 is a very dark, desaturated blue, closest to the named color Sombre Night. It belongs to the blue family of colors.
What is the RGB value of #1A1F37?
The RGB value is 26, 31, 55: 26 red, 31 green and 55 blue on a 0 to 255 scale.
What is the complementary color of #1A1F37?
The complementary color is #37321A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1A1F37?
White text. Black text has a contrast ratio of 1.3:1 and white text 16.22:1. WCAG asks for at least 4.5:1 for normal text.