#1B231B color

#1B231B rgb(27, 35, 27)
Shades of black

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

In the RGB color model it is made of 10.6% red, 13.7% green and 10.6% blue (27, 35, 27).

Its hue angle is 120°, with 13% saturation and 12% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 23% yellow and 86% black.

The closest named color is Underworld (#1E231C), a difference of 1.9 ΔE, which is barely visible.

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

#1B231B color codes

HEX#1B231B
RGBrgb(27, 35, 27)
RGB percentrgb(10.6%, 13.7%, 10.6%)
HSLhsl(120, 13%, 12%)
HSV / HSBhsv(120, 23%, 14%)
CMYKcmyk(23%, 0%, 23%, 86%)
CIE LABlab(12.7, -5.65, 4.2)
CIE LCHlch(12.7, 7.04, 143.35)
CIE XYZxyz(1.251, 1.514, 1.263)
Decimal1778459
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Onyx.

Questions

What color is #1B231B?
#1B231B 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 #1B231B?
The RGB value is 27, 35, 27: 27 red, 35 green and 27 blue on a 0 to 255 scale.
What is the complementary color of #1B231B?
The complementary color is #231B23, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B231B?
White text. Black text has a contrast ratio of 1.3:1 and white text 16.12:1. WCAG asks for at least 4.5:1 for normal text.