#2540b4 Color Information

In a RGB color space, hex #2540b4 is composed of 14.5% red, 25.1% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 79.4% cyan, 64.4% magenta, 0% yellow and 29.4% black. It has a hue angle of 228.7 degrees, a saturation of 65.9% and a lightness of 42.5%. #2540b4 color hex could be obtained by blending #4a80ff with #000069. Closest websafe color is: #3333cc.

    • R 15
    • G 25
    • B 71
    RGB color chart
    • C 79
    • M 64
    • Y 0
    • K 29
    CMYK color chart

#2540b4 color description : Strong blue.

#2540b4 Color Conversion

The hexadecimal color #2540b4 has RGB values of R:37, G:64, B:180 and CMYK values of C:0.79, M:0.64, Y:0, K:0.29. Its decimal value is 2441396.

Hex triplet 2540b4 #2540b4
RGB Decimal 37, 64, 180 rgb(37,64,180)
RGB Percent 14.5, 25.1, 70.6 rgb(14.5%,25.1%,70.6%)
CMYK 79, 64, 0, 29
HSL 228.7°, 65.9, 42.5 hsl(228.7,65.9%,42.5%)
HSV (or HSB) 228.7°, 79.4, 70.6
Web Safe 3333cc #3333cc
CIE-LAB 32.601, 32.935, -64.098
XYZ 10.833, 7.355, 44.026
xyY 0.174, 0.118, 7.355
CIE-LCH 32.601, 72.064, 297.195
CIE-LUV 32.601, -11.327, -87.707
Hunter-Lab 27.119, 23.843, -77.269
Binary 00100101, 01000000, 10110100

Color Schemes with #2540b4

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #2540b4

Below, you can see some colors close to #2540b4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#2540b4 Preview

Text with hexadecimal color #2540b4

This text has a font color of #2540b4.

<span style="color:#2540b4;">Text here</span>
#2540b4 background color

This paragraph has a background color of #2540b4.

<p style="background-color:#2540b4;">Content here</p>
#2540b4 border color

This element has a border color of #2540b4.

<div style="border:1px solid #2540b4;">Content here</div>
CSS codes
.text {color:#2540b4;}
.background {background-color:#2540b4;}
.border {border:1px solid #2540b4;}

Shades and Tints of #2540b4

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000001 is the darkest color, while #f0f2fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #2540b4

A tone is produced by adding gray to any pure hue. In this case, #686a71 is the less saturated color, while #042bd5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540b4 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #454545 Achromatopsia 0.005% of the population
  • #3f445b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0053a2 Protanopia 1% of men
  • #00588d Deuteranopia 1% of men
  • #005e63 Tritanopia 0.001% of the population
Trichromacy
  • #0d4ca9 Protanomaly 1% of men, 0.01% of women
  • #0d4f9b Deuteranomaly 6% of men, 0.4% of women
  • #0d5380 Tritanomaly 0.01% of the population