#2540a4 Color Information

In a RGB color space, hex #2540a4 is composed of 14.5% red, 25.1% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 77.4% cyan, 61% magenta, 0% yellow and 35.7% black. It has a hue angle of 227.2 degrees, a saturation of 63.2% and a lightness of 39.4%. #2540a4 color hex could be obtained by blending #4a80ff with #000049. Closest websafe color is: #333399.

    • R 15
    • G 25
    • B 64
    RGB color chart
    • C 77
    • M 61
    • Y 0
    • K 36
    CMYK color chart

#2540a4 color description : Dark blue.

#2540a4 Color Conversion

The hexadecimal color #2540a4 has RGB values of R:37, G:64, B:164 and CMYK values of C:0.77, M:0.61, Y:0, K:0.36. Its decimal value is 2441380.

Hex triplet 2540a4 #2540a4
RGB Decimal 37, 64, 164 rgb(37,64,164)
RGB Percent 14.5, 25.1, 64.3 rgb(14.5%,25.1%,64.3%)
CMYK 77, 61, 0, 36
HSL 227.2°, 63.2, 39.4 hsl(227.2,63.2%,39.4%)
HSV (or HSB) 227.2°, 77.4, 64.3
Web Safe 333399 #333399
CIE-LAB 31.207, 26.888, -56.816
XYZ 9.296, 6.74, 35.931
xyY 0.179, 0.13, 6.74
CIE-LCH 31.207, 62.857, 295.325
CIE-LUV 31.207, -11.124, -77.213
Hunter-Lab 25.961, 18.483, -63.886
Binary 00100101, 01000000, 10100100

Color Schemes with #2540a4

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

Alternatives to #2540a4

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

Similar Colors

#2540a4 Preview

Text with hexadecimal color #2540a4

This text has a font color of #2540a4.

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

This paragraph has a background color of #2540a4.

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

This element has a border color of #2540a4.

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

Shades and Tints of #2540a4

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

Shade Color Variation
Tint Color Variation

Tones of #2540a4

A tone is produced by adding gray to any pure hue. In this case, #636466 is the less saturated color, while #062ec3 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540a4 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
  • #434343 Achromatopsia 0.005% of the population
  • #3d4256 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005489 Deuteranopia 1% of men
  • #005b60 Tritanopia 0.001% of the population
Trichromacy
  • #0d4a9f Protanomaly 1% of men, 0.01% of women
  • #0d4d92 Deuteranomaly 6% of men, 0.4% of women
  • #0d5178 Tritanomaly 0.01% of the population