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