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