#0540a0 Color Information

In a RGB color space, hex #0540a0 is composed of 2% red, 25.1% green and 62.7% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 60% magenta, 0% yellow and 37.3% black. It has a hue angle of 217.2 degrees, a saturation of 93.9% and a lightness of 32.4%. #0540a0 color hex could be obtained by blending #0a80ff with #000041. 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

#0540a0 color description : Dark blue.

#0540a0 Color Conversion

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

Hex triplet 0540a0 #0540a0
RGB Decimal 5, 64, 160 rgb(5,64,160)
RGB Percent 2, 25.1, 62.7 rgb(2%,25.1%,62.7%)
CMYK 97, 60, 0, 37
HSL 217.2°, 93.9, 32.4 hsl(217.2,93.9%,32.4%)
HSV (or HSB) 217.2°, 96.9, 62.7
Web Safe 003399 #003399
CIE-LAB 30.001, 23.009, -56.407
XYZ 8.24, 6.236, 34.025
xyY 0.17, 0.129, 6.236
CIE-LCH 30.001, 60.92, 292.191
CIE-LUV 30.001, -14.105, -75.279
Hunter-Lab 24.973, 15.194, -63.301
Binary 00000101, 01000000, 10100000

Color Schemes with #0540a0

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

Alternatives to #0540a0

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

Similar Colors

#0540a0 Preview

Text with hexadecimal color #0540a0

This text has a font color of #0540a0.

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

This paragraph has a background color of #0540a0.

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

This element has a border color of #0540a0.

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

Shades and Tints of #0540a0

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

Shade Color Variation
Tint Color Variation

Tones of #0540a0

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540a0 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.

  • #393939 Achromatopsia 0.005% of the population
  • #2f3a4e Atypical Achromatopsia 0.001% of the population
  • #004d98 Protanopia 1% of men
  • #005284 Deuteranopia 1% of men
  • #00585c Tritanopia 0.001% of the population
  • #01489b Protanomaly 1% of men, 0.01% of women
  • #014b8e Deuteranomaly 6% of men, 0.4% of women
  • #014f75 Tritanomaly 0.01% of the population