#2B40C5
Blue
HEX
RGB
HSL
About #2B40C5 Blue
#2B40C5 is a blue color. In the RGB color model, it is composed of 43 red, 64 green, and 197 blue. In the HSL color space, it has a hue of 232°, saturation of 64%, and lightness of 47%.
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 #2B40C5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
232°
Hue
64%
Saturation
47%
Lightness
Blue
Color Harmonies
Colors that work well with #2B40C5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2B40C5 against white and black backgrounds.
Aa#2B40C5 on White
Contrast Ratio7.95:1
AA ✓AA Large ✓AAA ✓
Aa#2B40C5 on Black
Contrast Ratio2.64:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2B40C5 across different color formats.
| Format | Value |
|---|---|
| HEX | #2B40C5 |
| RGB | rgb(43, 64, 197) |
| HSL | hsl(232, 64%, 47%) |
| RGB Decimal | 43, 64, 197 |
| RGB Percent | 16.9%, 25.1%, 77.3% |
| CMYK (approx.) | 78%, 68%, 0%, 23% |
Related Palettes
12 palettes using #2B40C5 or similar colors