#050542
Dark Blue
HEX
RGB
HSL
About #050542 Dark Blue
#050542 is a dark blue color. In the RGB color model, it is composed of 5 red, 5 green, and 66 blue. In the HSL color space, it has a hue of 240°, saturation of 86%, 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 #050542 in your CSS, SCSS, or Tailwind projects.
Color Properties
240°
Hue
86%
Saturation
14%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #050542 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #050542 against white and black backgrounds.
Aa#050542 on White
Contrast Ratio18.97:1
AA ✓AA Large ✓AAA ✓
Aa#050542 on Black
Contrast Ratio1.11:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #050542 across different color formats.
| Format | Value |
|---|---|
| HEX | #050542 |
| RGB | rgb(5, 5, 66) |
| HSL | hsl(240, 86%, 14%) |
| RGB Decimal | 5, 5, 66 |
| RGB Percent | 2.0%, 2.0%, 25.9% |
| CMYK (approx.) | 92%, 92%, 0%, 74% |
Related Palettes
12 palettes using #050542 or similar colors