#303040
Dark Blue
HEX
RGB
HSL
About #303040 Dark Blue
#303040 is a dark blue color. In the RGB color model, it is composed of 48 red, 48 green, and 64 blue. In the HSL color space, it has a hue of 240°, saturation of 14%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #303040 in your CSS, SCSS, or Tailwind projects.
Color Properties
240°
Hue
14%
Saturation
22%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #303040 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #303040 against white and black backgrounds.
Aa#303040 on White
Contrast Ratio12.94:1
AA ✓AA Large ✓AAA ✓
Aa#303040 on Black
Contrast Ratio1.62:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #303040 across different color formats.
| Format | Value |
|---|---|
| HEX | #303040 |
| RGB | rgb(48, 48, 64) |
| HSL | hsl(240, 14%, 22%) |
| RGB Decimal | 48, 48, 64 |
| RGB Percent | 18.8%, 18.8%, 25.1% |
| CMYK (approx.) | 25%, 25%, 0%, 75% |
Related Palettes
12 palettes using #303040 or similar colors