Skip to content

#172835 Color

#172835 is rgb(23, 40, 53) in RGB, hsl(206, 39%, 15%) in HSL, and about cmyk(57%, 25%, 0%, 79%) in CMYK. It has no registered color name of its own — the closest is Gunmetal (#2A3439), clearly related but distinguishable side by side at ΔE 8.5. White text is the more readable choice on this background.

#172835
HEX#172835
RGBrgb(23, 40, 53)
HSLhsl(206, 39%, 15%)
HSVhsv(206, 57%, 21%)
CMYKcmyk(57%, 25%, 0%, 79%)
OKLCHoklch(26.8% 0.033 242.4)
LABlab(15.10% -3.93 -10.82)
LCHlch(15.10% 11.51 250.06)

What #172835 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #172835, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#172835 Channel Values

How #172835 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 23 · G 40 · B 538-bit channels as sent to the display
HSLH 206° · S 39% · L 15%Easiest model for building lighter and darker variants
HSVH 206° · S 57% · V 21%Matches the picker in most design tools
CMYKC 57% · M 25% · Y 0% · K 79%Approximate ink mix; confirm with an ICC profile before printing
Luminance15.09:1 vs white · 1.39:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #172835 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text15.09:1AA normal AA large AAA normal
Fails AABlack text1.39:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #172835 in the contrast checker.

Colors That Go With #172835

Pairings derived from color-wheel relationships. The complementary color sits opposite #172835; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #172835

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #172835.

How #172835 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#172835
Protanopia#262635
Protanomaly#212735
Deuteranopia#232335
Deuteranomaly#1F2535
Tritanopia#132A2A
Tritanomaly#15292F
Achromatopsia#262626

Test a full palette in the color blindness simulator.

Using #172835 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-172835: #172835;
CSS backgroundbackground-color: #172835;
Tailwind configcolors: { 'color-172835': '#172835' }
SwiftUIColor(red: 0.090, green: 0.157, blue: 0.208)
Android XML<color name="color_172835">#172835</color>
SVG fillfill="#172835"

More Blue Colors

#172835 sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#172835 Frequently Asked Questions

What color is #172835?

#172835 is a darkest blue — rgb(23, 40, 53) in RGB and hsl(206, 39%, 15%) in HSL. It carries no registered color name of its own; the closest named color is Gunmetal (#2A3439), which is clearly related but distinguishable side by side at a CIE76 distance of 8.5.

What is the RGB value of #172835?

#172835 is rgb(23, 40, 53) — red 23, green 40, and blue 53 on the 0-255 scale.

What is the CMYK value of #172835?

#172835 converts to approximately cmyk(57%, 25%, 0%, 79%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #172835 be black or white?

White text is the more readable choice. #172835 scores 15.09:1 against white and 1.39:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #172835 as a CSS color keyword?

No. #172835 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is black (#000000) at a CIE76 distance of 18.99, which is visibly different.

Open #172835 in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.