#2540DA
Blue
HEX
RGB
HSL
About #2540DA Blue
#2540DA is a blue color. In the RGB color model, it is composed of 37 red, 64 green, and 218 blue. In the HSL color space, it has a hue of 231°, saturation of 71%, and lightness of 50%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #2540DA in your CSS, SCSS, or Tailwind projects.
Color Properties
231°
Hue
71%
Saturation
50%
Lightness
Blue
Color Harmonies
Colors that work well with #2540DA based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2540DA against white and black backgrounds.
Aa#2540DA on White
Contrast Ratio7.44:1
AA ✓AA Large ✓AAA ✓
Aa#2540DA on Black
Contrast Ratio2.82:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2540DA across different color formats.
| Format | Value |
|---|---|
| HEX | #2540DA |
| RGB | rgb(37, 64, 218) |
| HSL | hsl(231, 71%, 50%) |
| RGB Decimal | 37, 64, 218 |
| RGB Percent | 14.5%, 25.1%, 85.5% |
| CMYK (approx.) | 83%, 71%, 0%, 15% |
Related Palettes
12 palettes using #2540DA or similar colors