#0540b2 Color Information

In a RGB color space, hex #0540b2 is composed of 2% red, 25.1% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 64% magenta, 0% yellow and 30.2% black. It has a hue angle of 219.5 degrees, a saturation of 94.5% and a lightness of 35.9%. #0540b2 color hex could be obtained by blending #0a80ff with #000065. Closest websafe color is: #003399.

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

#0540b2 color description : Dark blue.

#0540b2 Color Conversion

The hexadecimal color #0540b2 has RGB values of R:5, G:64, B:178 and CMYK values of C:0.97, M:0.64, Y:0, K:0.3. Its decimal value is 344242.

Hex triplet 0540b2 #0540b2
RGB Decimal 5, 64, 178 rgb(5,64,178)
RGB Percent 2, 25.1, 69.8 rgb(2%,25.1%,69.8%)
CMYK 97, 64, 0, 30
HSL 219.5°, 94.5, 35.9 hsl(219.5,94.5%,35.9%)
HSV (or HSB) 219.5°, 97.2, 69.8
Web Safe 003399 #003399
CIE-LAB 31.607, 30.289, -64.572
XYZ 9.93, 6.913, 42.928
xyY 0.166, 0.116, 6.913
CIE-LCH 31.607, 71.323, 295.13
CIE-LUV 31.607, -13.961, -86.979
Hunter-Lab 26.292, 21.407, -78.402
Binary 00000101, 01000000, 10110010

Color Schemes with #0540b2

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

Alternatives to #0540b2

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

Similar Colors

#0540b2 Preview

Text with hexadecimal color #0540b2

This text has a font color of #0540b2.

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

This paragraph has a background color of #0540b2.

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

This element has a border color of #0540b2.

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

Shades and Tints of #0540b2

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

Shade Color Variation
Tint Color Variation

Tones of #0540b2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540b2 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
  • #005c60 Tritanopia 0.001% of the population
Trichromacy
  • #014ba5 Protanomaly 1% of men, 0.01% of women
  • #014d98 Deuteranomaly 6% of men, 0.4% of women
  • #01517e Tritanomaly 0.01% of the population