#283031 color

#283031 rgb(40, 48, 49)
Shades of black

The hex color #283031 is a very dark, grayish cyan.

In the RGB color model it is made of 15.7% red, 18.8% green and 19.2% blue (40, 48, 49).

Its hue angle is 187°, with 10% saturation and 17% lightness. For print, the CMYK equivalent is 18% cyan, 2% magenta, 0% yellow and 81% black.

The closest named color is Nightmare Fuel (#293135), a difference of 2.1 ΔE, a small difference.

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

#283031 color codes

HEX#283031
RGBrgb(40, 48, 49)
RGB percentrgb(15.7%, 18.8%, 19.2%)
HSLhsl(187, 10%, 17%)
HSV / HSBhsv(187, 18%, 19%)
CMYKcmyk(18%, 2%, 0%, 81%)
CIE LABlab(19.17, -3.16, -1.8)
CIE LCHlch(19.17, 3.64, 209.59)
CIE XYZxyz(2.486, 2.787, 3.312)
Decimal2633777
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #283031, 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 #283031RatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.48:1PassPassPass
#283031 as text onRatioAAAAAAA large
Sample text13.48:1PassPassPass
Sample text1.56: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 #283031 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #283031; }
.text { color: #283031; }
.border { border: 2px solid #283031; }
.transparent { background-color: rgb(40 48 49 / 50%); }
.gradient { background: linear-gradient(to right, #283031, #282b31); }
Background
Text color
Border

Similar colors

Questions

What color is #283031?
#283031 is a very dark, grayish cyan, closest to the named color Nightmare Fuel. It belongs to the black family of colors.
What is the RGB value of #283031?
The RGB value is 40, 48, 49: 40 red, 48 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #283031?
The complementary color is #312928, found by rotating the hue 180° on the color wheel.
Is black or white text better on #283031?
White text. Black text has a contrast ratio of 1.56:1 and white text 13.48:1. WCAG asks for at least 4.5:1 for normal text.