#1B282E color

#1B282E rgb(27, 40, 46)
Shades of black

The hex color #1B282E is a very dark, desaturated azure.

In the RGB color model it is made of 10.6% red, 15.7% green and 18% blue (27, 40, 46).

Its hue angle is 199°, with 26% saturation and 14% lightness. For print, the CMYK equivalent is 41% cyan, 13% magenta, 0% yellow and 82% black.

The closest named color is Black Pearl (#1E272C), a difference of 1.6 ΔE, which is barely visible.

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

#1B282E color codes

HEX#1B282E
RGBrgb(27, 40, 46)
RGB percentrgb(10.6%, 15.7%, 18%)
HSLhsl(199, 26%, 14%)
HSV / HSBhsv(199, 41%, 18%)
CMYKcmyk(41%, 13%, 0%, 82%)
CIE LABlab(15.21, -3.67, -5.71)
CIE LCHlch(15.21, 6.79, 237.26)
CIE XYZxyz(1.704, 1.948, 2.87)
Decimal1779758
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B282E, 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 #1B282ERatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.11:1PassPassPass
#1B282E as text onRatioAAAAAAA large
Sample text15.11:1PassPassPass
Sample text1.39: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 #1B282E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b282e; }
.text { color: #1b282e; }
.border { border: 2px solid #1b282e; }
.transparent { background-color: rgb(27 40 46 / 50%); }
.gradient { background: linear-gradient(to right, #1b282e, #1b1f2e); }
Background
Text color
Border

Similar colors

Questions

What color is #1B282E?
#1B282E is a very dark, desaturated azure, closest to the named color Black Pearl. It belongs to the black family of colors.
What is the RGB value of #1B282E?
The RGB value is 27, 40, 46: 27 red, 40 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #1B282E?
The complementary color is #2E211B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B282E?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.11:1. WCAG asks for at least 4.5:1 for normal text.