#0C171D
Dark Blue
HEX
RGB
HSL
About #0C171D Dark Blue
#0C171D is a dark blue color. In the RGB color model, it is composed of 12 red, 23 green, and 29 blue. In the HSL color space, it has a hue of 201°, saturation of 41%, and lightness of 8%.
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 & Gradients
Use #0C171D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
201°
Hue
41%
Saturation
8%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #0C171D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0C171D against white and black backgrounds.
Aa#0C171D on White
Contrast Ratio18.17:1
AA ✓AA Large ✓AAA ✓
Aa#0C171D on Black
Contrast Ratio1.16:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0C171D across different color formats.
| Format | Value |
|---|---|
| HEX | #0C171D |
| RGB | rgb(12, 23, 29) |
| HSL | hsl(201, 41%, 8%) |
| RGB Decimal | 12, 23, 29 |
| RGB Percent | 4.7%, 9.0%, 11.4% |
| CMYK (approx.) | 59%, 21%, 0%, 89% |
Related Palettes
12 palettes using #0C171D or similar colors