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