#0540a1 Color Information

In a RGB color space, hex #0540a1 is composed of 2% red, 25.1% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 60.2% magenta, 0% yellow and 36.9% black. It has a hue angle of 217.3 degrees, a saturation of 94% and a lightness of 32.5%. #0540a1 color hex could be obtained by blending #0a80ff with #000043. Closest websafe color is: #003399.

    • R 2
    • G 25
    • B 63
    RGB color chart
    • C 97
    • M 60
    • Y 0
    • K 37
    CMYK color chart

#0540a1 color description : Dark blue.

#0540a1 Color Conversion

The hexadecimal color #0540a1 has RGB values of R:5, G:64, B:161 and CMYK values of C:0.97, M:0.6, Y:0, K:0.37. Its decimal value is 344225.

Hex triplet 0540a1 #0540a1
RGB Decimal 5, 64, 161 rgb(5,64,161)
RGB Percent 2, 25.1, 63.1 rgb(2%,25.1%,63.1%)
CMYK 97, 60, 0, 37
HSL 217.3°, 94, 32.5 hsl(217.3,94%,32.5%)
HSV (or HSB) 217.3°, 96.9, 63.1
Web Safe 003399 #003399
CIE-LAB 30.087, 23.421, -56.871
XYZ 8.328, 6.272, 34.488
xyY 0.17, 0.128, 6.272
CIE-LCH 30.087, 61.505, 292.383
CIE-LUV 30.087, -14.093, -75.942
Hunter-Lab 25.043, 15.532, -64.121
Binary 00000101, 01000000, 10100001

Color Schemes with #0540a1

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

Alternatives to #0540a1

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

Similar Colors

#0540a1 Preview

Text with hexadecimal color #0540a1

This text has a font color of #0540a1.

<span style="color:#0540a1;">Text here</span>
#0540a1 background color

This paragraph has a background color of #0540a1.

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

This element has a border color of #0540a1.

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

Shades and Tints of #0540a1

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

Shade Color Variation
Tint Color Variation

Tones of #0540a1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540a1 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
  • #393939 Achromatopsia 0.005% of the population
  • #2f3a4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e98 Protanopia 1% of men
  • #005284 Deuteranopia 1% of men
  • #00585c Tritanopia 0.001% of the population
Trichromacy
  • #01489b Protanomaly 1% of men, 0.01% of women
  • #014b8f Deuteranomaly 6% of men, 0.4% of women
  • #014f75 Tritanomaly 0.01% of the population