#0402ec Color Information

In a RGB color space, hex #0402ec is composed of 1.6% red, 0.8% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 99.2% magenta, 0% yellow and 7.5% black. It has a hue angle of 240.5 degrees, a saturation of 98.3% and a lightness of 46.7%. #0402ec color hex could be obtained by blending #0804ff with #0000d9. Closest websafe color is: #0000ff.

    • R 2
    • G 1
    • B 93
    RGB color chart
    • C 98
    • M 99
    • Y 0
    • K 7
    CMYK color chart

#0402ec color description : Vivid blue.

#0402ec Color Conversion

The hexadecimal color #0402ec has RGB values of R:4, G:2, B:236 and CMYK values of C:0.98, M:0.99, Y:0, K:0.07. Its decimal value is 262892.

Hex triplet 0402ec #0402ec
RGB Decimal 4, 2, 236 rgb(4,2,236)
RGB Percent 1.6, 0.8, 92.5 rgb(1.6%,0.8%,92.5%)
CMYK 98, 99, 0, 7
HSL 240.5°, 98.3, 46.7 hsl(240.5,98.3%,46.7%)
HSV (or HSB) 240.5°, 99.2, 92.5
Web Safe 0000ff #0000ff
CIE-LAB 29.724, 74.367, -101.436
XYZ 15.209, 6.124, 79.733
xyY 0.15, 0.061, 6.124
CIE-LCH 29.724, 125.776, 306.247
CIE-LUV 29.724, -8.559, -119.462
Hunter-Lab 24.747, 66.396, -173.704
Binary 00000100, 00000010, 11101100

Color Schemes with #0402ec

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

Alternatives to #0402ec

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

Similar Colors

#0402ec Preview

Text with hexadecimal color #0402ec

This text has a font color of #0402ec.

<span style="color:#0402ec;">Text here</span>
#0402ec background color

This paragraph has a background color of #0402ec.

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

This element has a border color of #0402ec.

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

Shades and Tints of #0402ec

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

Shade Color Variation
Tint Color Variation

Tones of #0402ec

A tone is produced by adding gray to any pure hue. In this case, #70707e is the less saturated color, while #0402ec is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402ec 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #181846 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d96 Protanopia 1% of men
  • #005281 Deuteranopia 1% of men
  • #00575a Tritanopia 0.001% of the population
Trichromacy
  • #0132b5 Protanomaly 1% of men, 0.01% of women
  • #0134a7 Deuteranomaly 6% of men, 0.4% of women
  • #01388f Tritanomaly 0.01% of the population