#172830 color
The hex color #172830 is a very dark, desaturated azure.
In the RGB color model it is made of 9% red, 15.7% green and 18.8% blue (23, 40, 48).
Its hue angle is 199°, with 35% saturation and 14% lightness. For print, the CMYK equivalent is 52% cyan, 17% magenta, 0% yellow and 81% black.
The closest named color is Oceanic Noir (#172B36), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.19:1).
#172830 color codes
| HEX | #172830 | |
|---|---|---|
| RGB | rgb(23, 40, 48) | |
| RGB percent | rgb(9%, 15.7%, 18.8%) | |
| HSL | hsl(199, 35%, 14%) | |
| HSV / HSB | hsv(199, 52%, 19%) | |
| CMYK | cmyk(52%, 17%, 0%, 81%) | |
| CIE LAB | lab(15.02, -4.38, -7.44) | |
| CIE LCH | lch(15.02, 8.63, 239.51) | |
| CIE XYZ | xyz(1.645, 1.913, 3.078) | |
| Decimal | 1517616 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172830, 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 #172830 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.19:1 | Pass | Pass | Pass |
| #172830 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.19:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #172830 looks to people with the most common types of color vision deficiency.
#242730Protanopia
no red cones#202530Deuteranopia
no green cones#0c2a2bTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #172830; }
.text { color: #172830; }
.border { border: 2px solid #172830; }
.transparent { background-color: rgb(23 40 48 / 50%); }
.gradient { background: linear-gradient(to right, #172830, #171b30); }
Similar colors
#172b36Oceanic Noir#0f282fBlack Box#1e272cBlack Pearl#10252aSunken Ship#243640Petrol Slumber#242a2eCinder#1e3442Blue Whale#1e3642Into the Night
Closest common color name: Gunmetal.
Questions
- What color is #172830?
- #172830 is a very dark, desaturated azure, closest to the named color Oceanic Noir. It belongs to the black family of colors.
- What is the RGB value of #172830?
- The RGB value is 23, 40, 48: 23 red, 40 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #172830?
- The complementary color is #301F17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172830?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.19:1. WCAG asks for at least 4.5:1 for normal text.