#402def Color Information

In a RGB color space, hex #402def is composed of 25.1% red, 17.6% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 73.2% cyan, 81.2% magenta, 0% yellow and 6.3% black. It has a hue angle of 245.9 degrees, a saturation of 85.8% and a lightness of 55.7%. #402def color hex could be obtained by blending #805aff with #0000df. Closest websafe color is: #3333ff.

    • R 25
    • G 18
    • B 94
    RGB color chart
    • C 73
    • M 81
    • Y 0
    • K 6
    CMYK color chart

#402def color description : Bright blue.

#402def Color Conversion

The hexadecimal color #402def has RGB values of R:64, G:45, B:239 and CMYK values of C:0.73, M:0.81, Y:0, K:0.06. Its decimal value is 4206063.

Hex triplet 402def #402def
RGB Decimal 64, 45, 239 rgb(64,45,239)
RGB Percent 25.1, 17.6, 93.7 rgb(25.1%,17.6%,93.7%)
CMYK 73, 81, 0, 6
HSL 245.9°, 85.8, 55.7 hsl(245.9,85.8%,55.7%)
HSV (or HSB) 245.9°, 81.2, 93.7
Web Safe 3333ff #3333ff
CIE-LAB 36.362, 64.743, -92.015
XYZ 18.63, 9.198, 82.45
xyY 0.169, 0.083, 9.198
CIE-LCH 36.362, 112.51, 305.131
CIE-LUV 36.362, -6.317, -124.516
Hunter-Lab 30.328, 56.575, -139.959
Binary 01000000, 00101101, 11101111

Color Schemes with #402def

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

Alternatives to #402def

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

Similar Colors

#402def Preview

Text with hexadecimal color #402def

This text has a font color of #402def.

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

This paragraph has a background color of #402def.

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

This element has a border color of #402def.

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

Shades and Tints of #402def

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

Shade Color Variation
Tint Color Variation

Tones of #402def

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402def 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
  • #494949 Achromatopsia 0.005% of the population
  • #47436a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #006199 Deuteranopia 1% of men
  • #00676c Tritanopia 0.001% of the population
Trichromacy
  • #174ac8 Protanomaly 1% of men, 0.01% of women
  • #174eb8 Deuteranomaly 6% of men, 0.4% of women
  • #17529c Tritanomaly 0.01% of the population