#18184D color

#18184D rgb(24, 24, 77)
Shades of black

The hex color #18184D is a very dark, moderate blue.

In the RGB color model it is made of 9.4% red, 9.4% green and 30.2% blue (24, 24, 77).

Its hue angle is 240°, with 52% saturation and 20% lightness. For print, the CMYK equivalent is 69% cyan, 69% magenta, 0% yellow and 70% black.

The closest named color is Fly-by-Night (#1C1E4D), a difference of 2.2 ΔE, a small difference.

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

#18184D color codes

HEX#18184D
RGBrgb(24, 24, 77)
RGB percentrgb(9.4%, 9.4%, 30.2%)
HSLhsl(240, 52%, 20%)
HSV / HSBhsv(240, 69%, 30%)
CMYKcmyk(69%, 69%, 0%, 70%)
CIE LABlab(11.84, 18.99, -32.79)
CIE LCHlch(11.84, 37.89, 300.07)
CIE XYZxyz(2.042, 1.383, 7.179)
Decimal1579085
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18184D, 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 #18184DRatioAAAAAAA large
Sample text1.28:1FailFailFail
Sample text16.45:1PassPassPass
#18184D as text onRatioAAAAAAA large
Sample text16.45:1PassPassPass
Sample text1.28: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 #18184D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18184d; }
.text { color: #18184d; }
.border { border: 2px solid #18184d; }
.transparent { background-color: rgb(24 24 77 / 50%); }
.gradient { background: linear-gradient(to right, #18184d, #33184d); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #18184D?
#18184D is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the black family of colors.
What is the RGB value of #18184D?
The RGB value is 24, 24, 77: 24 red, 24 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #18184D?
The complementary color is #4D4D18, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18184D?
White text. Black text has a contrast ratio of 1.28:1 and white text 16.45:1. WCAG asks for at least 4.5:1 for normal text.