#0540f2 Color Information

In a RGB color space, hex #0540f2 is composed of 2% red, 25.1% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 97.9% cyan, 73.6% magenta, 0% yellow and 5.1% black. It has a hue angle of 225.1 degrees, a saturation of 96% and a lightness of 48.4%. #0540f2 color hex could be obtained by blending #0a80ff with #0000e5. Closest websafe color is: #0033ff.

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

#0540f2 color description : Vivid blue.

#0540f2 Color Conversion

The hexadecimal color #0540f2 has RGB values of R:5, G:64, B:242 and CMYK values of C:0.98, M:0.74, Y:0, K:0.05. Its decimal value is 344306.

Hex triplet 0540f2 #0540f2
RGB Decimal 5, 64, 242 rgb(5,64,242)
RGB Percent 2, 25.1, 94.9 rgb(2%,25.1%,94.9%)
CMYK 98, 74, 0, 5
HSL 225.1°, 96, 48.4 hsl(225.1,96%,48.4%)
HSV (or HSB) 225.1°, 97.9, 94.9
Web Safe 0033ff #0033ff
CIE-LAB 38.036, 53.789, -90.993
XYZ 17.92, 10.108, 85.006
xyY 0.159, 0.089, 10.108
CIE-LCH 38.036, 105.703, 300.589
CIE-LUV 38.036, -14.345, -125.624
Hunter-Lab 31.794, 44.968, -136.267
Binary 00000101, 01000000, 11110010

Color Schemes with #0540f2

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

Alternatives to #0540f2

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

Similar Colors

#0540f2 Preview

Text with hexadecimal color #0540f2

This text has a font color of #0540f2.

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

This paragraph has a background color of #0540f2.

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

This element has a border color of #0540f2.

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

Shades and Tints of #0540f2

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

Shade Color Variation
Tint Color Variation

Tones of #0540f2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0540f2 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
  • #005fb9 Protanopia 1% of men
  • #0064a0 Deuteranopia 1% of men
  • #006b70 Tritanopia 0.001% of the population
Trichromacy
  • #0153cd Protanomaly 1% of men, 0.01% of women
  • #0157bd Deuteranomaly 6% of men, 0.4% of women
  • #015b9f Tritanomaly 0.01% of the population