#1B251F color

#1B251F rgb(27, 37, 31)
Shades of black

The hex color #1B251F is a very dark, grayish green.

In the RGB color model it is made of 10.6% red, 14.5% green and 12.2% blue (27, 37, 31).

Its hue angle is 144°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 16% yellow and 85% black.

The closest named color is Underworld (#1E231C), a difference of 2.7 ΔE, a small difference.

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

#1B251F color codes

HEX#1B251F
RGBrgb(27, 37, 31)
RGB percentrgb(10.6%, 14.5%, 12.2%)
HSLhsl(144, 16%, 13%)
HSV / HSBhsv(144, 27%, 15%)
CMYKcmyk(27%, 0%, 16%, 85%)
CIE LABlab(13.56, -6.01, 2.56)
CIE LCHlch(13.56, 6.53, 156.92)
CIE XYZxyz(1.361, 1.655, 1.544)
Decimal1778975
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #1b251f; }
.text { color: #1b251f; }
.border { border: 2px solid #1b251f; }
.transparent { background-color: rgb(27 37 31 / 50%); }
.gradient { background: linear-gradient(to right, #1b251f, #1b2524); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1B251F?
#1B251F is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
What is the RGB value of #1B251F?
The RGB value is 27, 37, 31: 27 red, 37 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #1B251F?
The complementary color is #251B21, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B251F?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.78:1. WCAG asks for at least 4.5:1 for normal text.