#2540b2 Color Information

In a RGB color space, hex #2540b2 is composed of 14.5% red, 25.1% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 79.2% cyan, 64% magenta, 0% yellow and 30.2% black. It has a hue angle of 228.5 degrees, a saturation of 65.6% and a lightness of 42.2%. #2540b2 color hex could be obtained by blending #4a80ff with #000065. Closest websafe color is: #333399.

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

#2540b2 color description : Dark blue.

#2540b2 Color Conversion

The hexadecimal color #2540b2 has RGB values of R:37, G:64, B:178 and CMYK values of C:0.79, M:0.64, Y:0, K:0.3. Its decimal value is 2441394.

Hex triplet 2540b2 #2540b2
RGB Decimal 37, 64, 178 rgb(37,64,178)
RGB Percent 14.5, 25.1, 69.8 rgb(14.5%,25.1%,69.8%)
CMYK 79, 64, 0, 30
HSL 228.5°, 65.6, 42.2 hsl(228.5,65.6%,42.2%)
HSV (or HSB) 228.5°, 79.2, 69.8
Web Safe 333399 #333399
CIE-LAB 32.422, 32.187, -63.204
XYZ 10.631, 7.274, 42.961
xyY 0.175, 0.12, 7.274
CIE-LCH 32.422, 70.928, 296.988
CIE-LUV 32.422, -11.298, -86.416
Hunter-Lab 26.97, 23.161, -75.565
Binary 00100101, 01000000, 10110010

Color Schemes with #2540b2

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

Alternatives to #2540b2

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

Similar Colors

#2540b2 Preview

Text with hexadecimal color #2540b2

This text has a font color of #2540b2.

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

This paragraph has a background color of #2540b2.

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

This element has a border color of #2540b2.

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

Shades and Tints of #2540b2

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

Shade Color Variation
Tint Color Variation

Tones of #2540b2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2540b2 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
  • #00578d Deuteranopia 1% of men
  • #005e63 Tritanopia 0.001% of the population
Trichromacy
  • #0d4ca7 Protanomaly 1% of men, 0.01% of women
  • #0d4f9a Deuteranomaly 6% of men, 0.4% of women
  • #0d537f Tritanomaly 0.01% of the population