#2540a3 Color Information

In a RGB color space, hex #2540a3 is composed of 14.5% red, 25.1% green and 63.9% blue. Whereas in a CMYK color space, it is composed of 77.3% cyan, 60.7% magenta, 0% yellow and 36.1% black. It has a hue angle of 227.1 degrees, a saturation of 63% and a lightness of 39.2%. #2540a3 color hex could be obtained by blending #4a80ff with #000047. 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

#2540a3 color description : Dark blue.

#2540a3 Color Conversion

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

Hex triplet 2540a3 #2540a3
RGB Decimal 37, 64, 163 rgb(37,64,163)
RGB Percent 14.5, 25.1, 63.9 rgb(14.5%,25.1%,63.9%)
CMYK 77, 61, 0, 36
HSL 227.1°, 63, 39.2 hsl(227.1,63%,39.2%)
HSV (or HSB) 227.1°, 77.3, 63.9
Web Safe 333399 #333399
CIE-LAB 31.123, 26.505, -56.351
XYZ 9.206, 6.704, 35.457
xyY 0.179, 0.131, 6.704
CIE-LCH 31.123, 62.273, 295.19
CIE-LUV 31.123, -11.113, -76.544
Hunter-Lab 25.892, 18.155, -63.07
Binary 00100101, 01000000, 10100011

Color Schemes with #2540a3

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

Alternatives to #2540a3

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

Similar Colors

#2540a3 Preview

Text with hexadecimal color #2540a3

This text has a font color of #2540a3.

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

This paragraph has a background color of #2540a3.

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

This element has a border color of #2540a3.

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

Shades and Tints of #2540a3

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

Shade Color Variation
Tint Color Variation

Tones of #2540a3

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540a3 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
  • #00509c Protanopia 1% of men
  • #005488 Deuteranopia 1% of men
  • #005a60 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