#0C024F
Dark Blue
HEX
RGB
HSL
About #0C024F Dark Blue
#0C024F is a dark blue color. In the RGB color model, it is composed of 12 red, 2 green, and 79 blue. In the HSL color space, it has a hue of 248°, saturation of 95%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #0C024F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
248°
Hue
95%
Saturation
16%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #0C024F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0C024F against white and black backgrounds.
Aa#0C024F on White
Contrast Ratio18.47:1
AA ✓AA Large ✓AAA ✓
Aa#0C024F on Black
Contrast Ratio1.14:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0C024F across different color formats.
| Format | Value |
|---|---|
| HEX | #0C024F |
| RGB | rgb(12, 2, 79) |
| HSL | hsl(248, 95%, 16%) |
| RGB Decimal | 12, 2, 79 |
| RGB Percent | 4.7%, 0.8%, 31.0% |
| CMYK (approx.) | 85%, 97%, 0%, 69% |
Related Palettes
12 palettes using #0C024F or similar colors