#282F33 color
The hex color #282F33 is a very dark, grayish azure.
In the RGB color model it is made of 15.7% red, 18.4% green and 20% blue (40, 47, 51).
Its hue angle is 202°, with 12% saturation and 18% lightness. For print, the CMYK equivalent is 22% cyan, 8% magenta, 0% yellow and 80% black.
The closest named color is Nightmare Fuel (#293135), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.6:1).
#282F33 color codes
| HEX | #282F33 | |
|---|---|---|
| RGB | rgb(40, 47, 51) | |
| RGB percent | rgb(15.7%, 18.4%, 20%) | |
| HSL | hsl(202, 12%, 18%) | |
| HSV / HSB | hsv(202, 22%, 20%) | |
| CMYK | cmyk(22%, 8%, 0%, 80%) | |
| CIE LAB | lab(18.9, -1.95, -3.58) | |
| CIE LCH | lch(18.9, 4.07, 241.43) | |
| CIE XYZ | xyz(2.489, 2.723, 3.526) | |
| Decimal | 2633523 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282F33, 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 #282F33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.6:1 | Pass | Pass | Pass |
| #282F33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.6:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #282F33 looks to people with the most common types of color vision deficiency.
#2d2f33Protanopia
no red cones#2c2d33Deuteranopia
no green cones#253030Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #282f33; }
.text { color: #282f33; }
.border { border: 2px solid #282f33; }
.transparent { background-color: rgb(40 47 51 / 50%); }
.gradient { background: linear-gradient(to right, #282f33, #282a33); }
Similar colors
#293135Nightmare Fuel#242a2eCinder#2a3439Gunmetal#262a2bGraphite Black#1e272cBlack Pearl#2f3434Phantom Ship#2b2c30Caviar#303a40Tempest in a Teapot
Questions
- What color is #282F33?
- #282F33 is a very dark, grayish azure, closest to the named color Nightmare Fuel. It belongs to the black family of colors.
- What is the RGB value of #282F33?
- The RGB value is 40, 47, 51: 40 red, 47 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #282F33?
- The complementary color is #332C28, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282F33?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.