#180A3E color

#180A3E rgb(24, 10, 62)
Shades of black

The hex color #180A3E is a very dark, moderate violet.

In the RGB color model it is made of 9.4% red, 3.9% green and 24.3% blue (24, 10, 62).

Its hue angle is 256°, with 72% saturation and 14% lightness. For print, the CMYK equivalent is 61% cyan, 84% magenta, 0% yellow and 76% black.

The closest named color is Quiet Abyss (#160435), a difference of 1.9 ΔE, which is barely visible.

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

#180A3E color codes

HEX#180A3E
RGBrgb(24, 10, 62)
RGB percentrgb(9.4%, 3.9%, 24.3%)
HSLhsl(256, 72%, 14%)
HSV / HSBhsv(256, 84%, 24%)
CMYKcmyk(61%, 84%, 0%, 76%)
CIE LABlab(6.86, 22.7, -30.41)
CIE LCHlch(6.86, 37.95, 306.75)
CIE XYZxyz(1.354, 0.759, 4.632)
Decimal1575486
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #180A3E, 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 #180A3ERatioAAAAAAA large
Sample text1.15:1FailFailFail
Sample text18.23:1PassPassPass
#180A3E as text onRatioAAAAAAA large
Sample text18.23:1PassPassPass
Sample text1.15: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 #180A3E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #180a3e; }
.text { color: #180a3e; }
.border { border: 2px solid #180a3e; }
.transparent { background-color: rgb(24 10 62 / 50%); }
.gradient { background: linear-gradient(to right, #180a3e, #320a3e); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #180A3E?
#180A3E is a very dark, moderate violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
What is the RGB value of #180A3E?
The RGB value is 24, 10, 62: 24 red, 10 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #180A3E?
The complementary color is #303E0A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #180A3E?
White text. Black text has a contrast ratio of 1.15:1 and white text 18.23:1. WCAG asks for at least 4.5:1 for normal text.