#0402ff Color Information

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

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

#0402ff color description : Vivid blue.

#0402ff Color Conversion

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

Hex triplet 0402ff #0402ff
RGB Decimal 4, 2, 255 rgb(4,2,255)
RGB Percent 1.6, 0.8, 100 rgb(1.6%,0.8%,100%)
CMYK 98, 99, 0, 0
HSL 240.5°, 100, 50.4 hsl(240.5,100%,50.4%)
HSV (or HSB) 240.5°, 99.2, 100
Web Safe 0000ff #0000ff
CIE-LAB 32.453, 78.908, -107.607
XYZ 18.118, 7.288, 95.054
xyY 0.15, 0.06, 7.288
CIE-LCH 32.453, 133.438, 306.253
CIE-LUV 32.453, -9.362, -130.52
Hunter-Lab 26.996, 72.557, -189.866
Binary 00000100, 00000010, 11111111

Color Schemes with #0402ff

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

Alternatives to #0402ff

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

Similar Colors

#0402ff Preview

Text with hexadecimal color #0402ff

This text has a font color of #0402ff.

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

This paragraph has a background color of #0402ff.

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

This element has a border color of #0402ff.

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

Shades and Tints of #0402ff

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

Shade Color Variation
Tint Color Variation

Tones of #0402ff

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402ff 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.

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1a194c Atypical Achromatopsia 0.001% of the population
  • #0053a1 Protanopia 1% of men
  • #00588a Deuteranopia 1% of men
  • #005e61 Tritanopia 0.001% of the population
  • #0135c3 Protanomaly 1% of men, 0.01% of women
  • #0138b5 Deuteranomaly 6% of men, 0.4% of women
  • #013c9a Tritanomaly 0.01% of the population