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