#0402cc Color Information

In a RGB color space, hex #0402cc is composed of 1.6% red, 0.8% green and 80% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 99% magenta, 0% yellow and 20% black. It has a hue angle of 240.6 degrees, a saturation of 98.1% and a lightness of 40.4%. #0402cc color hex could be obtained by blending #0804ff with #000099. Closest websafe color is: #0000cc.

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

#0402cc color description : Strong blue.

#0402cc Color Conversion

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

Hex triplet 0402cc #0402cc
RGB Decimal 4, 2, 204 rgb(4,2,204)
RGB Percent 1.6, 0.8, 80 rgb(1.6%,0.8%,80%)
CMYK 98, 99, 0, 20
HSL 240.6°, 98.1, 40.4 hsl(240.6,98.1%,40.4%)
HSV (or HSB) 240.6°, 99, 80
Web Safe 0000cc #0000cc
CIE-LAB 25.039, 66.54, -90.809
XYZ 10.969, 4.428, 57.4
xyY 0.151, 0.061, 4.428
CIE-LCH 25.039, 112.578, 306.232
CIE-LUV 25.039, -7.178, -100.472
Hunter-Lab 21.043, 56.219, -147
Binary 00000100, 00000010, 11001100

Color Schemes with #0402cc

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

Alternatives to #0402cc

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

Similar Colors

#0402cc Preview

Text with hexadecimal color #0402cc

This text has a font color of #0402cc.

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

This paragraph has a background color of #0402cc.

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

This element has a border color of #0402cc.

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

Shades and Tints of #0402cc

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, #00000a is the darkest color, while #f5f5ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0402cc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402cc 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
  • #1a1a1a Achromatopsia 0.005% of the population
  • #16153e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004770 Deuteranopia 1% of men
  • #004c4f Tritanopia 0.001% of the population
Trichromacy
  • #012b9d Protanomaly 1% of men, 0.01% of women
  • #012e91 Deuteranomaly 6% of men, 0.4% of women
  • #01317c Tritanomaly 0.01% of the population