#181787 color

#181787 rgb(24, 23, 135)
Shades of blue

The hex color #181787 is a dark, moderate blue.

In the RGB color model it is made of 9.4% red, 9% green and 52.9% blue (24, 23, 135).

Its hue angle is 241°, with 71% saturation and 31% lightness. For print, the CMYK equivalent is 82% cyan, 83% magenta, 0% yellow and 47% black.

The closest named color is Galactic Cruise (#111188), a difference of 1.2 ΔE, which is barely visible.

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

#181787 color codes

HEX#181787
RGBrgb(24, 23, 135)
RGB percentrgb(9.4%, 9%, 52.9%)
HSLhsl(241, 71%, 31%)
HSV / HSBhsv(241, 83%, 53%)
CMYKcmyk(82%, 83%, 0%, 47%)
CIE LABlab(18.17, 40.75, -60.45)
CIE LCHlch(18.17, 72.9, 303.99)
CIE XYZxyz(5.055, 2.556, 23.144)
Decimal1578887
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #181787, 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 #181787RatioAAAAAAA large
Sample text1.51:1FailFailFail
Sample text13.9:1PassPassPass
#181787 as text onRatioAAAAAAA large
Sample text13.9:1PassPassPass
Sample text1.51: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 #181787 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #181787; }
.text { color: #181787; }
.border { border: 2px solid #181787; }
.transparent { background-color: rgb(24 23 135 / 50%); }
.gradient { background: linear-gradient(to right, #181787, #501787); }
Background
Text color
Border

Similar colors

Questions

What color is #181787?
#181787 is a dark, moderate blue, closest to the named color Galactic Cruise. It belongs to the blue family of colors.
What is the RGB value of #181787?
The RGB value is 24, 23, 135: 24 red, 23 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #181787?
The complementary color is #868717, found by rotating the hue 180° on the color wheel.
Is black or white text better on #181787?
White text. Black text has a contrast ratio of 1.51:1 and white text 13.9:1. WCAG asks for at least 4.5:1 for normal text.