#28343C color

#28343C rgb(40, 52, 60)
Shades of gray

The hex color #28343C is a very dark, grayish azure.

In the RGB color model it is made of 15.7% red, 20.4% green and 23.5% blue (40, 52, 60).

Its hue angle is 204°, with 20% saturation and 20% lightness. For print, the CMYK equivalent is 33% cyan, 13% magenta, 0% yellow and 76% black.

The closest named color is Gunmetal (#2A3439), a difference of 1.7 ΔE, which is barely visible.

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

#28343C color codes

HEX#28343C
RGBrgb(40, 52, 60)
RGB percentrgb(15.7%, 20.4%, 23.5%)
HSLhsl(204, 20%, 20%)
HSV / HSBhsv(204, 33%, 24%)
CMYKcmyk(33%, 13%, 0%, 76%)
CIE LABlab(20.95, -2.72, -6.66)
CIE LCHlch(20.95, 7.2, 247.81)
CIE XYZxyz(2.918, 3.233, 4.744)
Decimal2634812
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28343C, 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 #28343CRatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.75:1PassPassPass
#28343C as text onRatioAAAAAAA large
Sample text12.75:1PassPassPass
Sample text1.65: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 #28343C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28343c; }
.text { color: #28343c; }
.border { border: 2px solid #28343c; }
.transparent { background-color: rgb(40 52 60 / 50%); }
.gradient { background: linear-gradient(to right, #28343c, #282a3c); }
Background
Text color
Border

Similar colors

Questions

What color is #28343C?
#28343C is a very dark, grayish azure, closest to the named color Gunmetal. It belongs to the gray family of colors.
What is the RGB value of #28343C?
The RGB value is 40, 52, 60: 40 red, 52 green and 60 blue on a 0 to 255 scale.
What is the complementary color of #28343C?
The complementary color is #3C3028, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28343C?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.75:1. WCAG asks for at least 4.5:1 for normal text.