#28272D color

#28272D rgb(40, 39, 45)
Shades of black

The hex color #28272D is a dark gray.

In the RGB color model it is made of 15.7% red, 15.3% green and 17.6% blue (40, 39, 45).

Its hue angle is 250°, with 7% saturation and 16% lightness. For print, the CMYK equivalent is 11% cyan, 13% magenta, 0% yellow and 82% black.

The closest named color is Jaguar (#29292F), a difference of 0.9 ΔE, which is barely visible.

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

#28272D color codes

HEX#28272D
RGBrgb(40, 39, 45)
RGB percentrgb(15.7%, 15.3%, 17.6%)
HSLhsl(250, 7%, 16%)
HSV / HSBhsv(250, 13%, 18%)
CMYKcmyk(11%, 13%, 0%, 82%)
CIE LABlab(15.96, 1.96, -3.76)
CIE LCHlch(15.96, 4.24, 297.53)
CIE XYZxyz(2.074, 2.092, 2.777)
Decimal2631469
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28272D, 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 #28272DRatioAAAAAAA large
Sample text1.42:1FailFailFail
Sample text14.81:1PassPassPass
#28272D as text onRatioAAAAAAA large
Sample text14.81:1PassPassPass
Sample text1.42: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 #28272D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28272d; }
.text { color: #28272d; }
.border { border: 2px solid #28272d; }
.transparent { background-color: rgb(40 39 45 / 50%); }
.gradient { background: linear-gradient(to right, #28272d, #2b272d); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #28272D?
#28272D is a dark gray, closest to the named color Jaguar. It belongs to the black family of colors.
What is the RGB value of #28272D?
The RGB value is 40, 39, 45: 40 red, 39 green and 45 blue on a 0 to 255 scale.
What is the complementary color of #28272D?
The complementary color is #2C2D27, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28272D?
White text. Black text has a contrast ratio of 1.42:1 and white text 14.81:1. WCAG asks for at least 4.5:1 for normal text.