#0540ac Color Information

In a RGB color space, hex #0540ac is composed of 2% red, 25.1% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 62.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 218.8 degrees, a saturation of 94.4% and a lightness of 34.7%. #0540ac color hex could be obtained by blending #0a80ff with #000059. Closest websafe color is: #003399.

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

#0540ac color description : Dark blue.

#0540ac Color Conversion

The hexadecimal color #0540ac has RGB values of R:5, G:64, B:172 and CMYK values of C:0.97, M:0.63, Y:0, K:0.33. Its decimal value is 344236.

Hex triplet 0540ac #0540ac
RGB Decimal 5, 64, 172 rgb(5,64,172)
RGB Percent 2, 25.1, 67.5 rgb(2%,25.1%,67.5%)
CMYK 97, 63, 0, 33
HSL 218.8°, 94.4, 34.7 hsl(218.8,94.4%,34.7%)
HSV (or HSB) 218.8°, 97.1, 67.5
Web Safe 003399 #003399
CIE-LAB 31.06, 27.895, -61.892
XYZ 9.341, 6.677, 39.824
xyY 0.167, 0.12, 6.677
CIE-LCH 31.06, 67.888, 294.261
CIE-LUV 31.06, -13.994, -83.132
Hunter-Lab 25.84, 19.307, -73.29
Binary 00000101, 01000000, 10101100

Color Schemes with #0540ac

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

Alternatives to #0540ac

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

Similar Colors

#0540ac Preview

Text with hexadecimal color #0540ac

This text has a font color of #0540ac.

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

This paragraph has a background color of #0540ac.

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

This element has a border color of #0540ac.

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

Shades and Tints of #0540ac

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

Shade Color Variation
Tint Color Variation

Tones of #0540ac

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540ac 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #303c52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509c Protanopia 1% of men
  • #005488 Deuteranopia 1% of men
  • #005a5f Tritanopia 0.001% of the population
Trichromacy
  • #014aa2 Protanomaly 1% of men, 0.01% of women
  • #014d95 Deuteranomaly 6% of men, 0.4% of women
  • #01517b Tritanomaly 0.01% of the population