#284242 color
The hex color #284242 is a dark, grayish cyan.
In the RGB color model it is made of 15.7% red, 25.9% green and 25.9% blue (40, 66, 66).
Its hue angle is 180°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 0% yellow and 74% black.
The closest named color is Emerald Forest (#224347), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.78:1).
#284242 color codes
| HEX | #284242 | |
|---|---|---|
| RGB | rgb(40, 66, 66) | |
| RGB percent | rgb(15.7%, 25.9%, 25.9%) | |
| HSL | hsl(180, 25%, 21%) | |
| HSV / HSB | hsv(180, 39%, 26%) | |
| CMYK | cmyk(39%, 0%, 0%, 74%) | |
| CIE LAB | lab(25.98, -9.9, -3.16) | |
| CIE LCH | lch(25.98, 10.39, 197.71) | |
| CIE XYZ | xyz(3.806, 4.741, 5.868) | |
| Decimal | 2638402 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284242, 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 #284242 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.78:1 | Pass | Pass | Pass |
| #284242 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.78:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #284242 looks to people with the most common types of color vision deficiency.
#3f4042Protanopia
no red cones#3a3c42Deuteranopia
no green cones#1e4442Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #284242; }
.text { color: #284242; }
.border { border: 2px solid #284242; }
.transparent { background-color: rgb(40 66 66 / 50%); }
.gradient { background: linear-gradient(to right, #284242, #283542); }
Similar colors
#224347Emerald Forest#27454aMysterious Waters#2d454aLittle Mermaid#1c3d44Sunken Harbour#2f4f4fDark Slate Gray#1c3b42Royal Neptune#3c4f4eNight Watch#133337Elite Teal
Questions
- What color is #284242?
- #284242 is a dark, grayish cyan, closest to the named color Emerald Forest. It belongs to the gray family of colors.
- What is the RGB value of #284242?
- The RGB value is 40, 66, 66: 40 red, 66 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #284242?
- The complementary color is #422828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284242?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.78:1. WCAG asks for at least 4.5:1 for normal text.