#0540b1 Color Information

In a RGB color space, hex #0540b1 is composed of 2% red, 25.1% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 63.8% magenta, 0% yellow and 30.6% black. It has a hue angle of 219.4 degrees, a saturation of 94.5% and a lightness of 35.7%. #0540b1 color hex could be obtained by blending #0a80ff with #000063. Closest websafe color is: #003399.

    • R 2
    • G 25
    • B 69
    RGB color chart
    • C 97
    • M 64
    • Y 0
    • K 31
    CMYK color chart

#0540b1 color description : Dark blue.

#0540b1 Color Conversion

The hexadecimal color #0540b1 has RGB values of R:5, G:64, B:177 and CMYK values of C:0.97, M:0.64, Y:0, K:0.31. Its decimal value is 344241.

Hex triplet 0540b1 #0540b1
RGB Decimal 5, 64, 177 rgb(5,64,177)
RGB Percent 2, 25.1, 69.4 rgb(2%,25.1%,69.4%)
CMYK 97, 64, 0, 31
HSL 219.4°, 94.5, 35.7 hsl(219.4,94.5%,35.7%)
HSV (or HSB) 219.4°, 97.2, 69.4
Web Safe 003399 #003399
CIE-LAB 31.515, 29.892, -64.128
XYZ 9.83, 6.873, 42.401
xyY 0.166, 0.116, 6.873
CIE-LCH 31.515, 70.753, 294.992
CIE-LUV 31.515, -13.965, -86.342
Hunter-Lab 26.216, 21.055, -77.545
Binary 00000101, 01000000, 10110001

Color Schemes with #0540b1

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

Alternatives to #0540b1

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

Similar Colors

#0540b1 Preview

Text with hexadecimal color #0540b1

This text has a font color of #0540b1.

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

This paragraph has a background color of #0540b1.

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

This element has a border color of #0540b1.

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

Shades and Tints of #0540b1

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

Shade Color Variation
Tint Color Variation

Tones of #0540b1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540b1 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
  • #303c53 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519e Protanopia 1% of men
  • #005589 Deuteranopia 1% of men
  • #005b60 Tritanopia 0.001% of the population
Trichromacy
  • #014aa5 Protanomaly 1% of men, 0.01% of women
  • #014d97 Deuteranomaly 6% of men, 0.4% of women
  • #01517d Tritanomaly 0.01% of the population