#062A42
Dark Blue
HEX
RGB
HSL
About #062A42 Dark Blue
#062A42 is a dark blue color. In the RGB color model, it is composed of 6 red, 42 green, and 66 blue. In the HSL color space, it has a hue of 204°, saturation of 83%, and lightness of 14%.
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 #062A42 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
204°
Hue
83%
Saturation
14%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #062A42 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #062A42 against white and black backgrounds.
Aa#062A42 on White
Contrast Ratio14.81:1
AA ✓AA Large ✓AAA ✓
Aa#062A42 on Black
Contrast Ratio1.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #062A42 across different color formats.
| Format | Value |
|---|---|
| HEX | #062A42 |
| RGB | rgb(6, 42, 66) |
| HSL | hsl(204, 83%, 14%) |
| RGB Decimal | 6, 42, 66 |
| RGB Percent | 2.4%, 16.5%, 25.9% |
| CMYK (approx.) | 91%, 36%, 0%, 74% |
Related Palettes
12 palettes using #062A42 or similar colors