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