#284042 color

#284042 rgb(40, 64, 66)
Shades of gray

The hex color #284042 is a dark, grayish cyan.

In the RGB color model it is made of 15.7% red, 25.1% green and 25.9% blue (40, 64, 66).

Its hue angle is 185°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 39% cyan, 3% magenta, 0% yellow and 74% black.

The closest named color is Emerald Forest (#224347), a difference of 2.3 ΔE, a small difference.

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

#284042 color codes

HEX#284042
RGBrgb(40, 64, 66)
RGB percentrgb(15.7%, 25.1%, 25.9%)
HSLhsl(185, 25%, 21%)
HSV / HSBhsv(185, 39%, 26%)
CMYKcmyk(39%, 3%, 0%, 74%)
CIE LABlab(25.29, -8.66, -4.18)
CIE LCHlch(25.29, 9.62, 205.77)
CIE XYZxyz(3.691, 4.511, 5.829)
Decimal2637890
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #284042; }
.text { color: #284042; }
.border { border: 2px solid #284042; }
.transparent { background-color: rgb(40 64 66 / 50%); }
.gradient { background: linear-gradient(to right, #284042, #283342); }
Background
Text color
Border

Similar colors

Questions

What color is #284042?
#284042 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 #284042?
The RGB value is 40, 64, 66: 40 red, 64 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #284042?
The complementary color is #422A28, found by rotating the hue 180° on the color wheel.
Is black or white text better on #284042?
White text. Black text has a contrast ratio of 1.9:1 and white text 11.04:1. WCAG asks for at least 4.5:1 for normal text.