#1B231A color

#1B231A rgb(27, 35, 26)
Shades of black

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

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

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

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

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

#1B231A color codes

HEX#1B231A
RGBrgb(27, 35, 26)
RGB percentrgb(10.6%, 13.7%, 10.2%)
HSLhsl(113, 15%, 12%)
HSV / HSBhsv(113, 26%, 14%)
CMYKcmyk(23%, 0%, 26%, 86%)
CIE LABlab(12.67, -5.89, 4.88)
CIE LCHlch(12.67, 7.65, 140.32)
CIE XYZxyz(1.239, 1.51, 1.203)
Decimal1778458
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Onyx.

Questions

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