#18175F color

#18175F rgb(24, 23, 95)
Shades of blue

The hex color #18175F is a dark, moderate blue.

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

Its hue angle is 241°, with 61% saturation and 23% lightness. For print, the CMYK equivalent is 75% cyan, 76% magenta, 0% yellow and 63% black.

The closest named color is Space Colonisation (#150F5B), a difference of 2.1 ΔE, a small difference.

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

#18175F color codes

HEX#18175F
RGBrgb(24, 23, 95)
RGB percentrgb(9.4%, 9%, 37.3%)
HSLhsl(241, 61%, 23%)
HSV / HSBhsv(241, 76%, 37%)
CMYKcmyk(75%, 76%, 0%, 63%)
CIE LABlab(13.43, 26.61, -42.39)
CIE LCHlch(13.43, 50.05, 302.12)
CIE XYZxyz(2.748, 1.633, 10.995)
Decimal1578847
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18175F, 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 #18175FRatioAAAAAAA large
Sample text1.33:1FailFailFail
Sample text15.83:1PassPassPass
#18175F as text onRatioAAAAAAA large
Sample text15.83:1PassPassPass
Sample text1.33: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 #18175F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18175f; }
.text { color: #18175f; }
.border { border: 2px solid #18175f; }
.transparent { background-color: rgb(24 23 95 / 50%); }
.gradient { background: linear-gradient(to right, #18175f, #3c175f); }
Background
Text color
Border

Similar colors

Questions

What color is #18175F?
#18175F is a dark, moderate blue, closest to the named color Space Colonisation. It belongs to the blue family of colors.
What is the RGB value of #18175F?
The RGB value is 24, 23, 95: 24 red, 23 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #18175F?
The complementary color is #5E5F17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18175F?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.83:1. WCAG asks for at least 4.5:1 for normal text.