Eclipse Elixir color: hex code #1F2133

#1F2133 rgb(31, 33, 51)
Shades of gray

Eclipse Elixir has the hex code #1F2133. It is a very dark, grayish blue.

In the RGB color model it is made of 12.2% red, 12.9% green and 20% blue (31, 33, 51).

Its hue angle is 234°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 39% cyan, 35% magenta, 0% yellow and 80% black.

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

Eclipse Elixir (#1F2133) color codes

HEX#1F2133
RGBrgb(31, 33, 51)
RGB percentrgb(12.2%, 12.9%, 20%)
HSLhsl(234, 24%, 16%)
HSV / HSBhsv(234, 39%, 20%)
CMYKcmyk(39%, 35%, 0%, 80%)
CIE LABlab(13.34, 4.46, -12.11)
CIE LCHlch(13.34, 12.9, 290.22)
CIE XYZxyz(1.706, 1.618, 3.354)
Decimal2040115
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Eclipse Elixir, 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 #1F2133RatioAAAAAAA large
Sample text1.32:1FailFailFail
Sample text15.87:1PassPassPass
#1F2133 as text onRatioAAAAAAA large
Sample text15.87:1PassPassPass
Sample text1.32: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 #1F2133 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f2133; }
.text { color: #1f2133; }
.border { border: 2px solid #1f2133; }
.transparent { background-color: rgb(31 33 51 / 50%); }
.gradient { background: linear-gradient(to right, #1f2133, #271f33); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

See #1F2133 on its hex code page

Questions

What color is #1F2133?
#1F2133 is a very dark, grayish blue known as Eclipse Elixir. It belongs to the gray family of colors.
What is the RGB value of Eclipse Elixir?
The RGB value is 31, 33, 51: 31 red, 33 green and 51 blue on a 0 to 255 scale.
What is the complementary color of Eclipse Elixir?
The complementary color is #33311F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F2133?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.87:1. WCAG asks for at least 4.5:1 for normal text.