#0540a9 Color Information

In a RGB color space, hex #0540a9 is composed of 2% red, 25.1% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 62.1% magenta, 0% yellow and 33.7% black. It has a hue angle of 218.4 degrees, a saturation of 94.3% and a lightness of 34.1%. #0540a9 color hex could be obtained by blending #0a80ff with #000053. Closest websafe color is: #003399.

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

#0540a9 color description : Dark blue.

#0540a9 Color Conversion

The hexadecimal color #0540a9 has RGB values of R:5, G:64, B:169 and CMYK values of C:0.97, M:0.62, Y:0, K:0.34. Its decimal value is 344233.

Hex triplet 0540a9 #0540a9
RGB Decimal 5, 64, 169 rgb(5,64,169)
RGB Percent 2, 25.1, 66.3 rgb(2%,25.1%,66.3%)
CMYK 97, 62, 0, 34
HSL 218.4°, 94.3, 34.1 hsl(218.4,94.3%,34.1%)
HSV (or HSB) 218.4°, 97, 66.3
Web Safe 003399 #003399
CIE-LAB 30.79, 26.685, -60.537
XYZ 9.056, 6.563, 38.323
xyY 0.168, 0.122, 6.563
CIE-LCH 30.79, 66.157, 293.788
CIE-LUV 30.79, -14.015, -81.19
Hunter-Lab 25.618, 18.267, -70.762
Binary 00000101, 01000000, 10101001

Color Schemes with #0540a9

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

Alternatives to #0540a9

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

Similar Colors

#0540a9 Preview

Text with hexadecimal color #0540a9

This text has a font color of #0540a9.

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

This paragraph has a background color of #0540a9.

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

This element has a border color of #0540a9.

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

Shades and Tints of #0540a9

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

Shade Color Variation
Tint Color Variation

Tones of #0540a9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540a9 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #2f3b50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #005a5e Tritanopia 0.001% of the population
Trichromacy
  • #0149a0 Protanomaly 1% of men, 0.01% of women
  • #014c93 Deuteranomaly 6% of men, 0.4% of women
  • #015079 Tritanomaly 0.01% of the population