#151F38
Dark Blue
HEX
RGB
HSL
About #151F38 Dark Blue
#151F38 is a dark blue color. In the RGB color model, it is composed of 21 red, 31 green, and 56 blue. In the HSL color space, it has a hue of 223°, saturation of 45%, and lightness of 15%.
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 #151F38 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
223°
Hue
45%
Saturation
15%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #151F38 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #151F38 against white and black backgrounds.
Aa#151F38 on White
Contrast Ratio16.34:1
AA ✓AA Large ✓AAA ✓
Aa#151F38 on Black
Contrast Ratio1.28:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #151F38 across different color formats.
| Format | Value |
|---|---|
| HEX | #151F38 |
| RGB | rgb(21, 31, 56) |
| HSL | hsl(223, 45%, 15%) |
| RGB Decimal | 21, 31, 56 |
| RGB Percent | 8.2%, 12.2%, 22.0% |
| CMYK (approx.) | 63%, 45%, 0%, 78% |
Related Palettes
12 palettes using #151F38 or similar colors