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