#18175F color
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 | |
|---|---|---|
| RGB | rgb(24, 23, 95) | |
| RGB percent | rgb(9.4%, 9%, 37.3%) | |
| HSL | hsl(241, 61%, 23%) | |
| HSV / HSB | hsv(241, 76%, 37%) | |
| CMYK | cmyk(75%, 76%, 0%, 63%) | |
| CIE LAB | lab(13.43, 26.61, -42.39) | |
| CIE LCH | lch(13.43, 50.05, 302.12) | |
| CIE XYZ | xyz(2.748, 1.633, 10.995) | |
| Decimal | 1578847 | |
| Short hex | None (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 #18175F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.83:1 | Pass | Pass | Pass |
| #18175F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.83:1 | Pass | Pass | Pass |
| Sample text | 1.33:1 | Fail | Fail | Fail |
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.
#002661Protanopia
no red cones#001f5eDeuteranopia
no green cones#002b39Tritanopia
no blue cones#222222Achromatopsia
no color vision
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); }
Similar colors
#150f5bSpace Colonisation#111166Dying Storm Blue#001155Interstellar Blue#191970Midnight Blue#19197020000 Leagues Under the Sea#222266Intergalactic Cowboy#2d135fVoldemort#2e2364Indie Go
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.