#121940
Dark Blue
HEX
RGB
HSL
About #121940 Dark Blue
#121940 is a dark blue color. In the RGB color model, it is composed of 18 red, 25 green, and 64 blue. In the HSL color space, it has a hue of 231°, saturation of 56%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #121940 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
231°
Hue
56%
Saturation
16%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #121940 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #121940 against white and black backgrounds.
Aa#121940 on White
Contrast Ratio16.95:1
AA ✓AA Large ✓AAA ✓
Aa#121940 on Black
Contrast Ratio1.24:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #121940 across different color formats.
| Format | Value |
|---|---|
| HEX | #121940 |
| RGB | rgb(18, 25, 64) |
| HSL | hsl(231, 56%, 16%) |
| RGB Decimal | 18, 25, 64 |
| RGB Percent | 7.1%, 9.8%, 25.1% |
| CMYK (approx.) | 72%, 61%, 0%, 75% |
Related Palettes
12 palettes using #121940 or similar colors