#0540ab Color Information

In a RGB color space, hex #0540ab is composed of 2% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 218.7 degrees, a saturation of 94.3% and a lightness of 34.5%. #0540ab color hex could be obtained by blending #0a80ff with #000057. 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

#0540ab color description : Dark blue.

#0540ab Color Conversion

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

Hex triplet 0540ab #0540ab
RGB Decimal 5, 64, 171 rgb(5,64,171)
RGB Percent 2, 25.1, 67.1 rgb(2%,25.1%,67.1%)
CMYK 97, 63, 0, 33
HSL 218.7°, 94.3, 34.5 hsl(218.7,94.3%,34.5%)
HSV (or HSB) 218.7°, 97.1, 67.1
Web Safe 003399 #003399
CIE-LAB 30.969, 27.492, -61.441
XYZ 9.245, 6.639, 39.32
xyY 0.167, 0.12, 6.639
CIE-LCH 30.969, 67.312, 294.107
CIE-LUV 30.969, -14, -82.486
Hunter-Lab 25.765, 18.96, -72.445
Binary 00000101, 01000000, 10101011

Color Schemes with #0540ab

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

Alternatives to #0540ab

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

Similar Colors

#0540ab Preview

Text with hexadecimal color #0540ab

This text has a font color of #0540ab.

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

This paragraph has a background color of #0540ab.

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

This element has a border color of #0540ab.

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

Shades and Tints of #0540ab

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

Shade Color Variation
Tint Color Variation

Tones of #0540ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540ab 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
  • #303c51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9c Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #005a5f Tritanopia 0.001% of the population
Trichromacy
  • #014aa1 Protanomaly 1% of men, 0.01% of women
  • #014d94 Deuteranomaly 6% of men, 0.4% of women
  • #01507a Tritanomaly 0.01% of the population