#18218E color

#18218E rgb(24, 33, 142)
Shades of blue

The hex color #18218E is a dark, moderate blue.

In the RGB color model it is made of 9.4% red, 12.9% green and 55.7% blue (24, 33, 142).

Its hue angle is 235°, with 71% saturation and 33% lightness. For print, the CMYK equivalent is 83% cyan, 77% magenta, 0% yellow and 44% black.

The closest named color is Space Dust (#002299), a difference of 1.8 ΔE, which is barely visible.

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

#18218E color codes

HEX#18218E
RGBrgb(24, 33, 142)
RGB percentrgb(9.4%, 12.9%, 55.7%)
HSLhsl(235, 71%, 33%)
HSV / HSBhsv(235, 83%, 56%)
CMYKcmyk(83%, 77%, 0%, 44%)
CIE LABlab(20.96, 37.56, -60.21)
CIE LCHlch(20.96, 70.96, 301.96)
CIE XYZxyz(5.801, 3.234, 25.904)
Decimal1581454
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18218E, 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 #18218ERatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.75:1PassPassPass
#18218E as text onRatioAAAAAAA large
Sample text12.75:1PassPassPass
Sample text1.65: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 #18218E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18218e; }
.text { color: #18218e; }
.border { border: 2px solid #18218e; }
.transparent { background-color: rgb(24 33 142 / 50%); }
.gradient { background: linear-gradient(to right, #18218e, #4a188e); }
Background
Text color
Border

Similar colors

Closest common color name: Ultramarine.

Questions

What color is #18218E?
#18218E is a dark, moderate blue, closest to the named color Space Dust. It belongs to the blue family of colors.
What is the RGB value of #18218E?
The RGB value is 24, 33, 142: 24 red, 33 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #18218E?
The complementary color is #8E8518, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18218E?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.75:1. WCAG asks for at least 4.5:1 for normal text.