#170074 color
The hex color #170074 is a dark, vivid violet.
In the RGB color model it is made of 9% red, 0% green and 45.5% blue (23, 0, 116).
Its hue angle is 252°, with 100% saturation and 23% lightness. For print, the CMYK equivalent is 80% cyan, 100% magenta, 0% yellow and 55% black.
The closest named color is Insomniac Blue (#110077), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.3:1).
#170074 color codes
| HEX | #170074 | |
|---|---|---|
| RGB | rgb(23, 0, 116) | |
| RGB percent | rgb(9%, 0%, 45.5%) | |
| HSL | hsl(252, 100%, 23%) | |
| HSV / HSB | hsv(252, 100%, 45%) | |
| CMYK | cmyk(80%, 100%, 0%, 55%) | |
| CIE LAB | lab(12.24, 44.7, -58.18) | |
| CIE LCH | lch(12.24, 73.37, 307.53) | |
| CIE XYZ | xyz(3.505, 1.443, 16.613) | |
| Decimal | 1507444 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170074, 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 #170074 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.3:1 | Pass | Pass | Pass |
| #170074 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.3:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #170074 looks to people with the most common types of color vision deficiency.
#002577Protanopia
no red cones#001b72Deuteranopia
no green cones#002c41Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #170074; }
.text { color: #170074; }
.border { border: 2px solid #170074; }
.transparent { background-color: rgb(23 0 116 / 50%); }
.gradient { background: linear-gradient(to right, #170074, #510074); }
Similar colors
#110077Insomniac Blue#220077Child of the Night#040273Deep Blue#000080Navy Blue#000080Navy#110066The Vast of Night#220066Blackmail#000066Alone in the Dark
Questions
- What color is #170074?
- #170074 is a dark, vivid violet, closest to the named color Insomniac Blue. It belongs to the blue family of colors.
- What is the RGB value of #170074?
- The RGB value is 23, 0, 116: 23 red, 0 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #170074?
- The complementary color is #5D7400, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170074?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.3:1. WCAG asks for at least 4.5:1 for normal text.