#0540f5 Color Information

In a RGB color space, hex #0540f5 is composed of 2% red, 25.1% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 73.9% magenta, 0% yellow and 3.9% black. It has a hue angle of 225.3 degrees, a saturation of 96% and a lightness of 49%. #0540f5 color hex could be obtained by blending #0a80ff with #0000eb. Closest websafe color is: #0033ff.

    • R 2
    • G 25
    • B 96
    RGB color chart
    • C 98
    • M 74
    • Y 0
    • K 4
    CMYK color chart

#0540f5 color description : Vivid blue.

#0540f5 Color Conversion

The hexadecimal color #0540f5 has RGB values of R:5, G:64, B:245 and CMYK values of C:0.98, M:0.74, Y:0, K:0.04. Its decimal value is 344309.

Hex triplet 0540f5 #0540f5
RGB Decimal 5, 64, 245 rgb(5,64,245)
RGB Percent 2, 25.1, 96.1 rgb(2%,25.1%,96.1%)
CMYK 98, 74, 0, 4
HSL 225.3°, 96, 49 hsl(225.3,96%,49%)
HSV (or HSB) 225.3°, 98, 96.1
Web Safe 0033ff #0033ff
CIE-LAB 38.358, 54.805, -92.15
XYZ 18.374, 10.29, 87.399
xyY 0.158, 0.089, 10.29
CIE-LCH 38.358, 107.216, 300.741
CIE-LUV 38.358, -14.388, -127.356
Hunter-Lab 32.078, 46.106, -139.084
Binary 00000101, 01000000, 11110101

Color Schemes with #0540f5

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

Alternatives to #0540f5

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

Similar Colors

#0540f5 Preview

Text with hexadecimal color #0540f5

This text has a font color of #0540f5.

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

This paragraph has a background color of #0540f5.

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

This element has a border color of #0540f5.

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

Shades and Tints of #0540f5

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, #00040e is the darkest color, while #fafbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0540f5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540f5 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
  • #434343 Achromatopsia 0.005% of the population
  • #374267 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0060ba Protanopia 1% of men
  • #0065a1 Deuteranopia 1% of men
  • #006c71 Tritanopia 0.001% of the population
Trichromacy
  • #0154cf Protanomaly 1% of men, 0.01% of women
  • #0158bf Deuteranomaly 6% of men, 0.4% of women
  • #015ca1 Tritanomaly 0.01% of the population