#072240
Dark Blue
HEX
RGB
HSL
About #072240 Dark Blue
#072240 is a dark blue color. In the RGB color model, it is composed of 7 red, 34 green, and 64 blue. In the HSL color space, it has a hue of 212°, saturation of 80%, 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
Use #072240 in your CSS, SCSS, or Tailwind projects.
Color Properties
212°
Hue
80%
Saturation
14%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #072240 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #072240 against white and black backgrounds.
Aa#072240 on White
Contrast Ratio16.01:1
AA ✓AA Large ✓AAA ✓
Aa#072240 on Black
Contrast Ratio1.31:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #072240 across different color formats.
| Format | Value |
|---|---|
| HEX | #072240 |
| RGB | rgb(7, 34, 64) |
| HSL | hsl(212, 80%, 14%) |
| RGB Decimal | 7, 34, 64 |
| RGB Percent | 2.7%, 13.3%, 25.1% |
| CMYK (approx.) | 89%, 47%, 0%, 75% |
Related Palettes
12 palettes using #072240 or similar colors