Skip to content

#1B1B1B Color

#1B1B1B is rgb(27, 27, 27) in RGB, hsl(0, 0%, 11%) in HSL, and about cmyk(0%, 0%, 0%, 89%) in CMYK. The closest CSS named color is Black (#000000). White text is the more readable choice on this background.

#1B1B1B
HEX#1B1B1B
RGBrgb(27, 27, 27)
HSLhsl(0, 0%, 11%)
HSVhsv(0, 0%, 11%)
CMYKcmyk(0%, 0%, 0%, 89%)
OKLCHoklch(22.2% 0 0)
LABlab(9.77% -0.00 0.00)
LCHlch(9.77% 0.00 136.09)

#1B1B1B Channel Values

How #1B1B1B breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 27 · G 27 · B 278-bit channels as sent to the display
HSLH 0° · S 0% · L 11%Easiest model for building lighter and darker variants
HSVH 0° · S 0% · V 11%Matches the picker in most design tools
CMYKC 0% · M 0% · Y 0% · K 89%Approximate ink mix; confirm with an ICC profile before printing
Luminance17.22:1 vs white · 1.22:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #1B1B1B background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text17.22:1AA normal AA large AAA normal
TextBlack text1.22:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #1B1B1B in the contrast checker.

Colors That Go With #1B1B1B

Pairings derived from color-wheel relationships. The complementary color sits opposite #1B1B1B; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #1B1B1B

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #1B1B1B.

How #1B1B1B Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#1B1B1B
Protanopia#1B1B1B
Protanomaly#1B1B1B
Deuteranopia#1B1B1B
Deuteranomaly#1B1B1B
Tritanopia#1B1B1B
Tritanomaly#1B1B1B
Achromatopsia#1B1B1B

Test a full palette in the color blindness simulator.

Using #1B1B1B in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-1b1b1b: #1B1B1B;
CSS backgroundbackground-color: #1B1B1B;
Tailwind configcolors: { 'color-1b1b1b': '#1B1B1B' }
SwiftUIColor(red: 0.106, green: 0.106, blue: 0.106)
Android XML<color name="color_1b1b1b">#1B1B1B</color>
SVG fillfill="#1B1B1B"

#1B1B1B Frequently Asked Questions

What is the RGB value of #1B1B1B?

#1B1B1B is rgb(27, 27, 27) — red 27, green 27, and blue 27 on the 0-255 scale.

What is the CMYK value of #1B1B1B?

#1B1B1B converts to approximately cmyk(0%, 0%, 0%, 89%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #1B1B1B be black or white?

White text is the more readable choice. #1B1B1B scores 17.22:1 against white and 1.22:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Does #1B1B1B have a color name?

#1B1B1B is not one of the 140 CSS named colors. The closest named color is Black (#000000), at a CIE76 distance of 9.8, so the two are visibly similar.

Open #1B1B1B in a Tool

#1B1B1B sits in the gray family — browse every shade of gray with hex codes, or return to the full color library.