#2540aa Color Information

In a RGB color space, hex #2540aa is composed of 14.5% red, 25.1% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 78.2% cyan, 62.4% magenta, 0% yellow and 33.3% black. It has a hue angle of 227.8 degrees, a saturation of 64.3% and a lightness of 40.6%. #2540aa color hex could be obtained by blending #4a80ff with #000055. Closest websafe color is: #333399.

    • R 15
    • G 25
    • B 67
    RGB color chart
    • C 78
    • M 62
    • Y 0
    • K 33
    CMYK color chart

#2540aa color description : Dark blue.

#2540aa Color Conversion

The hexadecimal color #2540aa has RGB values of R:37, G:64, B:170 and CMYK values of C:0.78, M:0.62, Y:0, K:0.33. Its decimal value is 2441386.

Hex triplet 2540aa #2540aa
RGB Decimal 37, 64, 170 rgb(37,64,170)
RGB Percent 14.5, 25.1, 66.7 rgb(14.5%,25.1%,66.7%)
CMYK 78, 62, 0, 33
HSL 227.8°, 64.3, 40.6 hsl(227.8,64.3%,40.6%)
HSV (or HSB) 227.8°, 78.2, 66.7
Web Safe 333399 #333399
CIE-LAB 31.72, 29.173, -59.582
XYZ 9.851, 6.962, 38.853
xyY 0.177, 0.125, 6.962
CIE-LCH 31.72, 66.34, 296.088
CIE-LUV 31.72, -11.193, -81.195
Hunter-Lab 26.385, 20.467, -68.836
Binary 00100101, 01000000, 10101010

Color Schemes with #2540aa

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

Alternatives to #2540aa

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

Similar Colors

#2540aa Preview

Text with hexadecimal color #2540aa

This text has a font color of #2540aa.

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

This paragraph has a background color of #2540aa.

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

This element has a border color of #2540aa.

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

Shades and Tints of #2540aa

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

Shade Color Variation
Tint Color Variation

Tones of #2540aa

A tone is produced by adding gray to any pure hue. In this case, #65666a is the less saturated color, while #052dca is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540aa 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
  • #444444 Achromatopsia 0.005% of the population
  • #3e4358 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519f Protanopia 1% of men
  • #00568a Deuteranopia 1% of men
  • #005c61 Tritanopia 0.001% of the population
Trichromacy
  • #0d4ba3 Protanomaly 1% of men, 0.01% of women
  • #0d4e96 Deuteranomaly 6% of men, 0.4% of women
  • #0d527b Tritanomaly 0.01% of the population