#174F8D color
The hex color #174F8D is a dark, moderate azure.
In the RGB color model it is made of 9% red, 31% green and 55.3% blue (23, 79, 141).
Its hue angle is 212°, with 72% saturation and 32% lightness. For print, the CMYK equivalent is 84% cyan, 44% magenta, 0% yellow and 45% black.
The closest named color is Dancing Sea (#1C4D8F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.27:1).
#174F8D color codes
| HEX | #174F8D | |
|---|---|---|
| RGB | rgb(23, 79, 141) | |
| RGB percent | rgb(9%, 31%, 55.3%) | |
| HSL | hsl(212, 72%, 32%) | |
| HSV / HSB | hsv(212, 84%, 55%) | |
| CMYK | cmyk(84%, 44%, 0%, 45%) | |
| CIE LAB | lab(33.34, 6.03, -39.42) | |
| CIE LCH | lch(33.34, 39.88, 278.7) | |
| CIE XYZ | xyz(7.955, 7.696, 26.26) | |
| Decimal | 1527693 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #174F8D, 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 #174F8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.27:1 | Pass | Pass | Pass |
| #174F8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.27:1 | Pass | Pass | Pass |
| Sample text | 2.54: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 #174F8D looks to people with the most common types of color vision deficiency.
#30548fProtanopia
no red cones#194a8cDeuteranopia
no green cones#005e67Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #174f8d; }
.text { color: #174f8d; }
.border { border: 2px solid #174f8d; }
.transparent { background-color: rgb(23 79 141 / 50%); }
.gradient { background: linear-gradient(to right, #174f8d, #1a178d); }
Similar colors
#1c4d8fDancing Sea#234e86Night Mode#1c4c8cOlympian Blue#244e94Le Grand Bleu#2d5284Galaxy Blue#225599Fist of the North Star#1d5699Blue Chip#2d4f83Assassin
Closest common color name: Cobalt Blue.
Questions
- What color is #174F8D?
- #174F8D is a dark, moderate azure, closest to the named color Dancing Sea. It belongs to the blue family of colors.
- What is the RGB value of #174F8D?
- The RGB value is 23, 79, 141: 23 red, 79 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #174F8D?
- The complementary color is #8D5517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #174F8D?
- White text. Black text has a contrast ratio of 2.54:1 and white text 8.27:1. WCAG asks for at least 4.5:1 for normal text.