#021731
Dark Blue
HEX
RGB
HSL
About #021731 Dark Blue
#021731 is a dark blue color. In the RGB color model, it is composed of 2 red, 23 green, and 49 blue. In the HSL color space, it has a hue of 213°, saturation of 92%, and lightness of 10%.
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
Use #021731 in your CSS, SCSS, or Tailwind projects.
Color Properties
213°
Hue
92%
Saturation
10%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #021731 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #021731 against white and black backgrounds.
Aa#021731 on White
Contrast Ratio17.96:1
AA ✓AA Large ✓AAA ✓
Aa#021731 on Black
Contrast Ratio1.17:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #021731 across different color formats.
| Format | Value |
|---|---|
| HEX | #021731 |
| RGB | rgb(2, 23, 49) |
| HSL | hsl(213, 92%, 10%) |
| RGB Decimal | 2, 23, 49 |
| RGB Percent | 0.8%, 9.0%, 19.2% |
| CMYK (approx.) | 96%, 53%, 0%, 81% |
Related Palettes
12 palettes using #021731 or similar colors