#1540a8 Color Information

In a RGB color space, hex #1540a8 is composed of 8.2% red, 25.1% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 87.5% cyan, 61.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 222.4 degrees, a saturation of 77.8% and a lightness of 37.1%. #1540a8 color hex could be obtained by blending #2a80ff with #000051. Closest websafe color is: #003399.

    • R 8
    • G 25
    • B 66
    RGB color chart
    • C 88
    • M 62
    • Y 0
    • K 34
    CMYK color chart

#1540a8 color description : Dark blue.

#1540a8 Color Conversion

The hexadecimal color #1540a8 has RGB values of R:21, G:64, B:168 and CMYK values of C:0.88, M:0.62, Y:0, K:0.34. Its decimal value is 1392808.

Hex triplet 1540a8 #1540a8
RGB Decimal 21, 64, 168 rgb(21,64,168)
RGB Percent 8.2, 25.1, 65.9 rgb(8.2%,25.1%,65.9%)
CMYK 88, 62, 0, 34
HSL 222.4°, 77.8, 37.1 hsl(222.4,77.8%,37.1%)
HSV (or HSB) 222.4°, 87.5, 65.9
Web Safe 003399 #003399
CIE-LAB 31.003, 27.05, -59.577
XYZ 9.209, 6.653, 37.842
xyY 0.171, 0.124, 6.653
CIE-LCH 31.003, 65.431, 294.419
CIE-LUV 31.003, -13.019, -80.314
Hunter-Lab 25.793, 18.594, -68.934
Binary 00010101, 01000000, 10101000

Color Schemes with #1540a8

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

Alternatives to #1540a8

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

Similar Colors

#1540a8 Preview

Text with hexadecimal color #1540a8

This text has a font color of #1540a8.

<span style="color:#1540a8;">Text here</span>
#1540a8 background color

This paragraph has a background color of #1540a8.

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

This element has a border color of #1540a8.

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

Shades and Tints of #1540a8

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, #01040b is the darkest color, while #f9fafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1540a8

A tone is produced by adding gray to any pure hue. In this case, #5e5e5f is the less saturated color, while #063ab7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1540a8 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #373f54 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9c Protanopia 1% of men
  • #005488 Deuteranopia 1% of men
  • #005a5f Tritanopia 0.001% of the population
Trichromacy
  • #074aa0 Protanomaly 1% of men, 0.01% of women
  • #074d93 Deuteranomaly 6% of men, 0.4% of women
  • #075079 Tritanomaly 0.01% of the population