#0540f4 Color Information

In a RGB color space, hex #0540f4 is composed of 2% red, 25.1% green and 95.7% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 73.8% magenta, 0% yellow and 4.3% black. It has a hue angle of 225.2 degrees, a saturation of 96% and a lightness of 48.8%. #0540f4 color hex could be obtained by blending #0a80ff with #0000e9. 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

#0540f4 color description : Vivid blue.

#0540f4 Color Conversion

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

Hex triplet 0540f4 #0540f4
RGB Decimal 5, 64, 244 rgb(5,64,244)
RGB Percent 2, 25.1, 95.7 rgb(2%,25.1%,95.7%)
CMYK 98, 74, 0, 4
HSL 225.2°, 96, 48.8 hsl(225.2,96%,48.8%)
HSV (or HSB) 225.2°, 98, 95.7
Web Safe 0033ff #0033ff
CIE-LAB 38.251, 54.467, -91.765
XYZ 18.222, 10.229, 86.597
xyY 0.158, 0.089, 10.229
CIE-LCH 38.251, 106.712, 300.691
CIE-LUV 38.251, -14.373, -126.779
Hunter-Lab 31.983, 45.726, -138.145
Binary 00000101, 01000000, 11110100

Color Schemes with #0540f4

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

Alternatives to #0540f4

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

Similar Colors

#0540f4 Preview

Text with hexadecimal color #0540f4

This text has a font color of #0540f4.

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

This paragraph has a background color of #0540f4.

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

This element has a border color of #0540f4.

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

Shades and Tints of #0540f4

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, #00030d is the darkest color, while #f9fbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0540f4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540f4 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
  • #374266 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005fba Protanopia 1% of men
  • #0065a0 Deuteranopia 1% of men
  • #006c71 Tritanopia 0.001% of the population
Trichromacy
  • #0154cf Protanomaly 1% of men, 0.01% of women
  • #0157bf Deuteranomaly 6% of men, 0.4% of women
  • #015ca0 Tritanomaly 0.01% of the population