#180B40 color

#180B40 rgb(24, 11, 64)
Shades of black

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

In the RGB color model it is made of 9.4% red, 4.3% green and 25.1% blue (24, 11, 64).

Its hue angle is 255°, with 71% saturation and 15% lightness. For print, the CMYK equivalent is 63% cyan, 83% magenta, 0% yellow and 75% black.

The closest named color is Quiet Abyss (#160435), a difference of 2.4 ΔE, a small difference.

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

#180B40 color codes

HEX#180B40
RGBrgb(24, 11, 64)
RGB percentrgb(9.4%, 4.3%, 25.1%)
HSLhsl(255, 71%, 15%)
HSV / HSBhsv(255, 83%, 25%)
CMYKcmyk(63%, 83%, 0%, 75%)
CIE LABlab(7.26, 22.93, -31.18)
CIE LCHlch(7.26, 38.71, 306.34)
CIE XYZxyz(1.421, 0.804, 4.93)
Decimal1575744
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #180b40; }
.text { color: #180b40; }
.border { border: 2px solid #180b40; }
.transparent { background-color: rgb(24 11 64 / 50%); }
.gradient { background: linear-gradient(to right, #180b40, #330b40); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #180B40?
#180B40 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 #180B40?
The RGB value is 24, 11, 64: 24 red, 11 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #180B40?
The complementary color is #33400B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #180B40?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.09:1. WCAG asks for at least 4.5:1 for normal text.