#1B182F color

#1B182F rgb(27, 24, 47)
Shades of black

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

In the RGB color model it is made of 10.6% red, 9.4% green and 18.4% blue (27, 24, 47).

Its hue angle is 248°, with 32% saturation and 14% lightness. For print, the CMYK equivalent is 43% cyan, 49% magenta, 0% yellow and 82% black.

The closest named color is Dark Knight (#151931), a difference of 2.8 ΔE, a small difference.

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

#1B182F color codes

HEX#1B182F
RGBrgb(27, 24, 47)
RGB percentrgb(10.6%, 9.4%, 18.4%)
HSLhsl(248, 32%, 14%)
HSV / HSBhsv(248, 49%, 18%)
CMYKcmyk(43%, 49%, 0%, 82%)
CIE LABlab(9.73, 8.4, -14.89)
CIE LCHlch(9.73, 17.1, 299.44)
CIE XYZxyz(1.292, 1.091, 2.831)
Decimal1775663
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #1b182f; }
.text { color: #1b182f; }
.border { border: 2px solid #1b182f; }
.transparent { background-color: rgb(27 24 47 / 50%); }
.gradient { background: linear-gradient(to right, #1b182f, #27182f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #1B182F?
#1B182F is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
What is the RGB value of #1B182F?
The RGB value is 27, 24, 47: 27 red, 24 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #1B182F?
The complementary color is #2C2F18, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B182F?
White text. Black text has a contrast ratio of 1.22:1 and white text 17.24:1. WCAG asks for at least 4.5:1 for normal text.