#283939 color
The hex color #283939 is a very dark, grayish cyan.
In the RGB color model it is made of 15.7% red, 22.4% green and 22.4% blue (40, 57, 57).
Its hue angle is 180°, with 18% saturation and 19% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 0% yellow and 78% black.
The closest named color is Aztec (#293432), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.11:1).
#283939 color codes
| HEX | #283939 | |
|---|---|---|
| RGB | rgb(40, 57, 57) | |
| RGB percent | rgb(15.7%, 22.4%, 22.4%) | |
| HSL | hsl(180, 18%, 19%) | |
| HSV / HSB | hsv(180, 30%, 22%) | |
| CMYK | cmyk(30%, 0%, 0%, 78%) | |
| CIE LAB | lab(22.56, -6.85, -2.24) | |
| CIE LCH | lch(22.56, 7.21, 198.1) | |
| CIE XYZ | xyz(3.076, 3.673, 4.417) | |
| Decimal | 2636089 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #283939, 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 #283939 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.11:1 | Pass | Pass | Pass |
| #283939 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.11:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #283939 looks to people with the most common types of color vision deficiency.
#373739Protanopia
no red cones#333539Deuteranopia
no green cones#223a39Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #283939; }
.text { color: #283939; }
.border { border: 2px solid #283939; }
.transparent { background-color: rgb(40 57 57 / 50%); }
.gradient { background: linear-gradient(to right, #283939, #283139); }
Similar colors
#293432Aztec#1c3b42Royal Neptune#133337Elite Teal#2d454aLittle Mermaid#1c3d44Sunken Harbour#2b322dTerminal Black#224347Emerald Forest#27454aMysterious Waters
Closest common color name: Gunmetal.
Questions
- What color is #283939?
- #283939 is a very dark, grayish cyan, closest to the named color Aztec. It belongs to the gray family of colors.
- What is the RGB value of #283939?
- The RGB value is 40, 57, 57: 40 red, 57 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #283939?
- The complementary color is #392828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #283939?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.11:1. WCAG asks for at least 4.5:1 for normal text.