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