#201F40
Dark Blue
HEX
RGB
HSL
About #201F40 Dark Blue
#201F40 is a dark blue color. In the RGB color model, it is composed of 32 red, 31 green, and 64 blue. In the HSL color space, it has a hue of 242°, saturation of 35%, and lightness of 19%.
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 #201F40 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
242°
Hue
35%
Saturation
19%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #201F40 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #201F40 against white and black backgrounds.
Aa#201F40 on White
Contrast Ratio15.77:1
AA ✓AA Large ✓AAA ✓
Aa#201F40 on Black
Contrast Ratio1.33:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #201F40 across different color formats.
| Format | Value |
|---|---|
| HEX | #201F40 |
| RGB | rgb(32, 31, 64) |
| HSL | hsl(242, 35%, 19%) |
| RGB Decimal | 32, 31, 64 |
| RGB Percent | 12.5%, 12.2%, 25.1% |
| CMYK (approx.) | 50%, 52%, 0%, 75% |
Related Palettes
12 palettes using #201F40 or similar colors