#2A42CB
Blue
HEX
RGB
HSL
About #2A42CB Blue
#2A42CB is a blue color. In the RGB color model, it is composed of 42 red, 66 green, and 203 blue. In the HSL color space, it has a hue of 231°, saturation of 66%, and lightness of 48%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #2A42CB in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
231°
Hue
66%
Saturation
48%
Lightness
Blue
Color Harmonies
Colors that work well with #2A42CB based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A42CB against white and black backgrounds.
Aa#2A42CB on White
Contrast Ratio7.66:1
AA ✓AA Large ✓AAA ✓
Aa#2A42CB on Black
Contrast Ratio2.74:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A42CB across different color formats.
| Format | Value |
|---|---|
| HEX | #2A42CB |
| RGB | rgb(42, 66, 203) |
| HSL | hsl(231, 66%, 48%) |
| RGB Decimal | 42, 66, 203 |
| RGB Percent | 16.5%, 25.9%, 79.6% |
| CMYK (approx.) | 79%, 67%, 0%, 20% |
Related Palettes
12 palettes using #2A42CB or similar colors