#2C283E color

#2C283E rgb(44, 40, 62)
Shades of blue

The hex color #2C283E is a dark, grayish violet.

In the RGB color model it is made of 17.3% red, 15.7% green and 24.3% blue (44, 40, 62).

Its hue angle is 251°, with 22% saturation and 20% lightness. For print, the CMYK equivalent is 29% cyan, 35% magenta, 0% yellow and 76% black.

The closest named color is Midnight Masquerade (#2C2E47), a difference of 3.2 ΔE, a small difference.

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

#2C283E color codes

HEX#2C283E
RGBrgb(44, 40, 62)
RGB percentrgb(17.3%, 15.7%, 24.3%)
HSLhsl(251, 22%, 20%)
HSV / HSBhsv(251, 35%, 24%)
CMYKcmyk(29%, 35%, 0%, 76%)
CIE LABlab(17.46, 7.69, -13.34)
CIE LCHlch(17.46, 15.4, 299.96)
CIE XYZxyz(2.667, 2.401, 4.879)
Decimal2893886
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2C283E, 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 #2C283ERatioAAAAAAA large
Sample text1.48:1FailFailFail
Sample text14.19:1PassPassPass
#2C283E as text onRatioAAAAAAA large
Sample text14.19:1PassPassPass
Sample text1.48: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 #2C283E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2c283e; }
.text { color: #2c283e; }
.border { border: 2px solid #2c283e; }
.transparent { background-color: rgb(44 40 62 / 50%); }
.gradient { background: linear-gradient(to right, #2c283e, #37283e); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #2C283E?
#2C283E is a dark, grayish violet, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
What is the RGB value of #2C283E?
The RGB value is 44, 40, 62: 44 red, 40 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #2C283E?
The complementary color is #3A3E28, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2C283E?
White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.