#262C28 color

#262C28 rgb(38, 44, 40)
Shades of black

The hex color #262C28 is a dark gray.

In the RGB color model it is made of 14.9% red, 17.3% green and 15.7% blue (38, 44, 40).

Its hue angle is 140°, with 7% saturation and 16% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 9% yellow and 83% black.

The closest named color is Terminal Black (#2B322D), a difference of 2 ΔE, which is barely visible.

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

#262C28 color codes

HEX#262C28
RGBrgb(38, 44, 40)
RGB percentrgb(14.9%, 17.3%, 15.7%)
HSLhsl(140, 7%, 16%)
HSV / HSBhsv(140, 14%, 17%)
CMYKcmyk(14%, 0%, 9%, 83%)
CIE LABlab(17.3, -3.63, 1.7)
CIE LCHlch(17.3, 4.01, 154.86)
CIE XYZxyz(2.083, 2.367, 2.354)
Decimal2501672
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #262C28, 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 #262C28RatioAAAAAAA large
Sample text1.47:1FailFailFail
Sample text14.25:1PassPassPass
#262C28 as text onRatioAAAAAAA large
Sample text14.25:1PassPassPass
Sample text1.47: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 #262C28 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #262c28; }
.text { color: #262c28; }
.border { border: 2px solid #262c28; }
.transparent { background-color: rgb(38 44 40 / 50%); }
.gradient { background: linear-gradient(to right, #262c28, #262c2b); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #262C28?
#262C28 is a dark gray, closest to the named color Terminal Black. It belongs to the black family of colors.
What is the RGB value of #262C28?
The RGB value is 38, 44, 40: 38 red, 44 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #262C28?
The complementary color is #2C262A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #262C28?
White text. Black text has a contrast ratio of 1.47:1 and white text 14.25:1. WCAG asks for at least 4.5:1 for normal text.