#402afb Color Information

In a RGB color space, hex #402afb is composed of 25.1% red, 16.5% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 74.5% cyan, 83.3% magenta, 0% yellow and 1.6% black. It has a hue angle of 246.3 degrees, a saturation of 96.3% and a lightness of 57.5%. #402afb color hex could be obtained by blending #8054ff with #0000f7. Closest websafe color is: #3333ff.

    • R 25
    • G 16
    • B 98
    RGB color chart
    • C 75
    • M 83
    • Y 0
    • K 2
    CMYK color chart

#402afb color description : Bright blue.

#402afb Color Conversion

The hexadecimal color #402afb has RGB values of R:64, G:42, B:251 and CMYK values of C:0.75, M:0.83, Y:0, K:0.02. Its decimal value is 4205307.

Hex triplet 402afb #402afb
RGB Decimal 64, 42, 251 rgb(64,42,251)
RGB Percent 25.1, 16.5, 98.4 rgb(25.1%,16.5%,98.4%)
CMYK 75, 83, 0, 2
HSL 246.3°, 96.3, 57.5 hsl(246.3,96.3%,57.5%)
HSV (or HSB) 246.3°, 83.3, 98.4
Web Safe 3333ff #3333ff
CIE-LAB 37.316, 69.315, -97.196
XYZ 20.352, 9.71, 92.063
xyY 0.167, 0.08, 9.71
CIE-LCH 37.316, 119.38, 305.495
CIE-LUV 37.316, -6.666, -131.325
Hunter-Lab 31.16, 62.051, -153.359
Binary 01000000, 00101010, 11111011

Color Schemes with #402afb

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

Alternatives to #402afb

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

Similar Colors

#402afb Preview

Text with hexadecimal color #402afb

This text has a font color of #402afb.

<span style="color:#402afb;">Text here</span>
#402afb background color

This paragraph has a background color of #402afb.

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

This element has a border color of #402afb.

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

Shades and Tints of #402afb

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

Shade Color Variation
Tint Color Variation

Tones of #402afb

A tone is produced by adding gray to any pure hue. In this case, #8f8e97 is the less saturated color, while #402afb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402afb 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
  • #484848 Achromatopsia 0.005% of the population
  • #46426c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db6 Protanopia 1% of men
  • #00639d Deuteranopia 1% of men
  • #006a6f Tritanopia 0.001% of the population
Trichromacy
  • #174bcf Protanomaly 1% of men, 0.01% of women
  • #174ebf Deuteranomaly 6% of men, 0.4% of women
  • #1752a2 Tritanomaly 0.01% of the population