#172A40

Dark Blue

HEX

RGB

HSL

About #172A40 Dark Blue

#172A40 is a dark blue color. In the RGB color model, it is composed of 23 red, 42 green, and 64 blue. In the HSL color space, it has a hue of 212°, saturation of 47%, and lightness of 17%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #172A40 in your CSS, SCSS, or Tailwind projects.

Color Properties

212°

Hue

47%

Saturation

17%

Lightness

Dark Blue

Color Harmonies

Colors that work well with #172A40 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #172A40 against white and black backgrounds.

Aa#172A40 on White
Contrast Ratio14.57:1
AA AA Large AAA
Aa#172A40 on Black
Contrast Ratio1.44:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #172A40 across different color formats.

FormatValue
HEX#172A40
RGBrgb(23, 42, 64)
HSLhsl(212, 47%, 17%)
RGB Decimal23, 42, 64
RGB Percent9.0%, 16.5%, 25.1%
CMYK (approx.)64%, 34%, 0%, 75%

Related Palettes

12 palettes using #172A40 or similar colors

#1A1A2E#16213E#0F3460#E94560
#111522#212945#2B3A6E#435289
#0E1425#1B274B#243875#374E95
#101323#222744#323967#32409A
#0C1827#1F3047#254774#40618C
#0F0E0E#232D3F#005B41#008170
#111222#1F2247#323767#3B4291
#E8D5B7#B09B71#5E503F#22333B
#0B2447#19376D#576CBC#A5D7E8
#F9F7F7#DBE2EF#3F72AF#112D4E
#121122#252343#373465#484488
#DFF6FF#47B5FF#256D85#06283D