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