Depths of Night color: hex code #2C319B

#2C319B rgb(44, 49, 155)
Shades of blue

Depths of Night has the hex code #2C319B. It is a moderate blue.

In the RGB color model it is made of 17.3% red, 19.2% green and 60.8% blue (44, 49, 155).

Its hue angle is 237°, with 56% saturation and 39% lightness. For print, the CMYK equivalent is 72% cyan, 68% magenta, 0% yellow and 39% black.

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

Depths of Night (#2C319B) color codes

HEX#2C319B
RGBrgb(44, 49, 155)
RGB percentrgb(17.3%, 19.2%, 60.8%)
HSLhsl(237, 56%, 39%)
HSV / HSBhsv(237, 72%, 61%)
CMYKcmyk(72%, 68%, 0%, 39%)
CIE LABlab(27.01, 34.2, -58.21)
CIE LCHlch(27.01, 67.51, 300.43)
CIE XYZxyz(8.051, 5.098, 31.564)
Decimal2896283
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Depths of Night, 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 #2C319BRatioAAAAAAA large
Sample text2.02:1FailFailFail
Sample text10.4:1PassPassPass
#2C319B as text onRatioAAAAAAA large
Sample text10.4:1PassPassPass
Sample text2.02: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 #2C319B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2c319b; }
.text { color: #2c319b; }
.border { border: 2px solid #2c319b; }
.transparent { background-color: rgb(44 49 155 / 50%); }
.gradient { background: linear-gradient(to right, #2c319b, #5e2c9b); }
Background
Text color
Border

Similar colors

See #2C319B on its hex code page

Questions

What color is #2C319B?
#2C319B is a moderate blue known as Depths of Night. It belongs to the blue family of colors.
What is the RGB value of Depths of Night?
The RGB value is 44, 49, 155: 44 red, 49 green and 155 blue on a 0 to 255 scale.
What is the complementary color of Depths of Night?
The complementary color is #9B962C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2C319B?
White text. Black text has a contrast ratio of 2.02:1 and white text 10.4:1. WCAG asks for at least 4.5:1 for normal text.