#170C89 color
The hex color #170C89 is a dark, vivid blue.
In the RGB color model it is made of 9% red, 4.7% green and 53.7% blue (23, 12, 137).
Its hue angle is 245°, with 84% saturation and 29% lightness. For print, the CMYK equivalent is 83% cyan, 91% magenta, 0% yellow and 46% black.
The closest named color is Ultramarine (#120A8F), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.48:1).
#170C89 color codes
| HEX | #170C89 | |
|---|---|---|
| RGB | rgb(23, 12, 137) | |
| RGB percent | rgb(9%, 4.7%, 53.7%) | |
| HSL | hsl(245, 84%, 29%) | |
| HSV / HSB | hsv(245, 91%, 54%) | |
| CMYK | cmyk(83%, 91%, 0%, 46%) | |
| CIE LAB | lab(16.75, 46.16, -64.06) | |
| CIE LCH | lch(16.75, 78.96, 305.77) | |
| CIE XYZ | xyz(4.999, 2.251, 23.833) | |
| Decimal | 1510537 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170C89, 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 #170C89 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.48:1 | Pass | Pass | Pass |
| #170C89 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.48:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #170C89 looks to people with the most common types of color vision deficiency.
#002f8cProtanopia
no red cones#002387Deuteranopia
no green cones#00384fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #170c89; }
.text { color: #170c89; }
.border { border: 2px solid #170c89; }
.transparent { background-color: rgb(23 12 137 / 50%); }
.gradient { background: linear-gradient(to right, #170c89, #550c89); }
Similar colors
#120a8fUltramarine#111188Galactic Cruise#221188Nightly Expedition#220088Orbital Kingdom#00008bDark Blue#000088Midnight in Tokyo#240093Dramatic Blue#0c1793Royal
Questions
- What color is #170C89?
- #170C89 is a dark, vivid blue, closest to the named color Ultramarine. It belongs to the blue family of colors.
- What is the RGB value of #170C89?
- The RGB value is 23, 12, 137: 23 red, 12 green and 137 blue on a 0 to 255 scale.
- What is the complementary color of #170C89?
- The complementary color is #7E890C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170C89?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.48:1. WCAG asks for at least 4.5:1 for normal text.