#2540b5 Color Information

In a RGB color space, hex #2540b5 is composed of 14.5% red, 25.1% green and 71% blue. Whereas in a CMYK color space, it is composed of 79.6% cyan, 64.6% magenta, 0% yellow and 29% black. It has a hue angle of 228.8 degrees, a saturation of 66.1% and a lightness of 42.7%. #2540b5 color hex could be obtained by blending #4a80ff with #00006b. Closest websafe color is: #3333cc.

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

#2540b5 color description : Strong blue.

#2540b5 Color Conversion

The hexadecimal color #2540b5 has RGB values of R:37, G:64, B:181 and CMYK values of C:0.8, M:0.65, Y:0, K:0.29. Its decimal value is 2441397.

Hex triplet 2540b5 #2540b5
RGB Decimal 37, 64, 181 rgb(37,64,181)
RGB Percent 14.5, 25.1, 71 rgb(14.5%,25.1%,71%)
CMYK 80, 65, 0, 29
HSL 228.8°, 66.1, 42.7 hsl(228.8,66.1%,42.7%)
HSV (or HSB) 228.8°, 79.6, 71
Web Safe 3333cc #3333cc
CIE-LAB 32.691, 33.308, -64.544
XYZ 10.935, 7.396, 44.565
xyY 0.174, 0.118, 7.396
CIE-LCH 32.691, 72.631, 297.296
CIE-LUV 32.691, -11.341, -88.35
Hunter-Lab 27.195, 24.185, -78.124
Binary 00100101, 01000000, 10110101

Color Schemes with #2540b5

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

Alternatives to #2540b5

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

Similar Colors

#2540b5 Preview

Text with hexadecimal color #2540b5

This text has a font color of #2540b5.

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

This paragraph has a background color of #2540b5.

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

This element has a border color of #2540b5.

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

Shades and Tints of #2540b5

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, #000102 is the darkest color, while #f1f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #2540b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540b5 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
  • #0053a3 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
  • #0d4f9c Deuteranomaly 6% of men, 0.4% of women
  • #0d5381 Tritanomaly 0.01% of the population