#283031 color
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 | |
|---|---|---|
| RGB | rgb(40, 48, 49) | |
| RGB percent | rgb(15.7%, 18.8%, 19.2%) | |
| HSL | hsl(187, 10%, 17%) | |
| HSV / HSB | hsv(187, 18%, 19%) | |
| CMYK | cmyk(18%, 2%, 0%, 81%) | |
| CIE LAB | lab(19.17, -3.16, -1.8) | |
| CIE LCH | lch(19.17, 3.64, 209.59) | |
| CIE XYZ | xyz(2.486, 2.787, 3.312) | |
| Decimal | 2633777 | |
| Short hex | None (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 #283031 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.48:1 | Pass | Pass | Pass |
| #283031 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.48:1 | Pass | Pass | Pass |
| Sample text | 1.56:1 | Fail | Fail | Fail |
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.
#2f2f31Protanopia
no red cones#2d2e31Deuteranopia
no green cones#253130Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
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); }
Similar colors
#293135Nightmare Fuel#2f3434Phantom Ship#262a2bGraphite Black#2a3439Gunmetal#293432Aztec#242a2eCinder#1e272cBlack Pearl#2b322dTerminal Black
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.