#0402f8 Color Information

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

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

#0402f8 color description : Vivid blue.

#0402f8 Color Conversion

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

Hex triplet 0402f8 #0402f8
RGB Decimal 4, 2, 248 rgb(4,2,248)
RGB Percent 1.6, 0.8, 97.3 rgb(1.6%,0.8%,97.3%)
CMYK 98, 99, 0, 3
HSL 240.5°, 98.4, 49 hsl(240.5,98.4%,49%)
HSV (or HSB) 240.5°, 99.2, 97.3
Web Safe 0000ff #0000ff
CIE-LAB 31.452, 77.244, -105.344
XYZ 17.012, 6.845, 89.226
xyY 0.15, 0.061, 6.845
CIE-LCH 31.452, 130.629, 306.251
CIE-LUV 31.452, -9.067, -126.464
Hunter-Lab 26.163, 70.277, -183.886
Binary 00000100, 00000010, 11111000

Color Schemes with #0402f8

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

Alternatives to #0402f8

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

Similar Colors

#0402f8 Preview

Text with hexadecimal color #0402f8

This text has a font color of #0402f8.

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

This paragraph has a background color of #0402f8.

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

This element has a border color of #0402f8.

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

Shades and Tints of #0402f8

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

Shade Color Variation
Tint Color Variation

Tones of #0402f8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402f8 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
  • #1f1f1f Achromatopsia 0.005% of the population
  • #1a194a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519d Protanopia 1% of men
  • #005687 Deuteranopia 1% of men
  • #005b5f Tritanopia 0.001% of the population
Trichromacy
  • #0134be Protanomaly 1% of men, 0.01% of women
  • #0137b0 Deuteranomaly 6% of men, 0.4% of women
  • #013b96 Tritanomaly 0.01% of the population