#283240 color

#283240 rgb(40, 50, 64)
Shades of gray

The hex color #283240 is a dark, grayish azure.

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

Its hue angle is 215°, with 23% saturation and 20% lightness. For print, the CMYK equivalent is 38% cyan, 22% magenta, 0% yellow and 75% black.

The closest named color is Total Eclipse (#303543), a difference of 2.8 ΔE, a small difference.

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

#283240 color codes

HEX#283240
RGBrgb(40, 50, 64)
RGB percentrgb(15.7%, 19.6%, 25.1%)
HSLhsl(215, 23%, 20%)
HSV / HSBhsv(215, 38%, 25%)
CMYKcmyk(38%, 22%, 0%, 75%)
CIE LABlab(20.45, -0.14, -10.15)
CIE LCHlch(20.45, 10.15, 269.21)
CIE XYZxyz(2.941, 3.102, 5.293)
Decimal2634304
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #283240?
#283240 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
What is the RGB value of #283240?
The RGB value is 40, 50, 64: 40 red, 50 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #283240?
The complementary color is #403628, found by rotating the hue 180° on the color wheel.
Is black or white text better on #283240?
White text. Black text has a contrast ratio of 1.62:1 and white text 12.96:1. WCAG asks for at least 4.5:1 for normal text.