#2D228C
Blue
HEX
RGB
HSL
About #2D228C Blue
#2D228C is a blue color. In the RGB color model, it is composed of 45 red, 34 green, and 140 blue. In the HSL color space, it has a hue of 246°, saturation of 61%, and lightness of 34%.
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 #2D228C in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
246°
Hue
61%
Saturation
34%
Lightness
Blue
Color Harmonies
Colors that work well with #2D228C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2D228C against white and black backgrounds.
Aa#2D228C on White
Contrast Ratio12.22:1
AA ✓AA Large ✓AAA ✓
Aa#2D228C on Black
Contrast Ratio1.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2D228C across different color formats.
| Format | Value |
|---|---|
| HEX | #2D228C |
| RGB | rgb(45, 34, 140) |
| HSL | hsl(246, 61%, 34%) |
| RGB Decimal | 45, 34, 140 |
| RGB Percent | 17.6%, 13.3%, 54.9% |
| CMYK (approx.) | 68%, 76%, 0%, 45% |
Related Palettes
12 palettes using #2D228C or similar colors