#282A40
Dark Blue
HEX
RGB
HSL
About #282A40 Dark Blue
#282A40 is a dark blue color. In the RGB color model, it is composed of 40 red, 42 green, and 64 blue. In the HSL color space, it has a hue of 235°, saturation of 23%, and lightness of 20%.
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 & Gradients
Use #282A40 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
235°
Hue
23%
Saturation
20%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #282A40 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #282A40 against white and black backgrounds.
Aa#282A40 on White
Contrast Ratio14.04:1
AA ✓AA Large ✓AAA ✓
Aa#282A40 on Black
Contrast Ratio1.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #282A40 across different color formats.
| Format | Value |
|---|---|
| HEX | #282A40 |
| RGB | rgb(40, 42, 64) |
| HSL | hsl(235, 23%, 20%) |
| RGB Decimal | 40, 42, 64 |
| RGB Percent | 15.7%, 16.5%, 25.1% |
| CMYK (approx.) | 38%, 34%, 0%, 75% |
Related Palettes
12 palettes using #282A40 or similar colors