#02151B
Dark Blue
HEX
RGB
HSL
About #02151B Dark Blue
#02151B is a dark blue color. In the RGB color model, it is composed of 2 red, 21 green, and 27 blue. In the HSL color space, it has a hue of 194°, saturation of 86%, and lightness of 6%.
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 & Gradients
Use #02151B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
194°
Hue
86%
Saturation
6%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #02151B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #02151B against white and black backgrounds.
Aa#02151B on White
Contrast Ratio18.66:1
AA ✓AA Large ✓AAA ✓
Aa#02151B on Black
Contrast Ratio1.13:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #02151B across different color formats.
| Format | Value |
|---|---|
| HEX | #02151B |
| RGB | rgb(2, 21, 27) |
| HSL | hsl(194, 86%, 6%) |
| RGB Decimal | 2, 21, 27 |
| RGB Percent | 0.8%, 8.2%, 10.6% |
| CMYK (approx.) | 93%, 22%, 0%, 89% |
Related Palettes
12 palettes using #02151B or similar colors