#021C40
Dark Blue
HEX
RGB
HSL
About #021C40 Dark Blue
#021C40 is a dark blue color. In the RGB color model, it is composed of 2 red, 28 green, and 64 blue. In the HSL color space, it has a hue of 215°, saturation of 94%, and lightness of 13%.
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 #021C40 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
215°
Hue
94%
Saturation
13%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #021C40 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #021C40 against white and black backgrounds.
Aa#021C40 on White
Contrast Ratio16.9:1
AA ✓AA Large ✓AAA ✓
Aa#021C40 on Black
Contrast Ratio1.24:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #021C40 across different color formats.
| Format | Value |
|---|---|
| HEX | #021C40 |
| RGB | rgb(2, 28, 64) |
| HSL | hsl(215, 94%, 13%) |
| RGB Decimal | 2, 28, 64 |
| RGB Percent | 0.8%, 11.0%, 25.1% |
| CMYK (approx.) | 97%, 56%, 0%, 75% |
Related Palettes
12 palettes using #021C40 or similar colors