#402fb8 Color Information

In a RGB color space, hex #402fb8 is composed of 25.1% red, 18.4% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 65.2% cyan, 74.5% magenta, 0% yellow and 27.8% black. It has a hue angle of 247.4 degrees, a saturation of 59.3% and a lightness of 45.3%. #402fb8 color hex could be obtained by blending #805eff with #000071. Closest websafe color is: #3333cc.

    • R 25
    • G 18
    • B 72
    RGB color chart
    • C 65
    • M 74
    • Y 0
    • K 28
    CMYK color chart

#402fb8 color description : Moderate blue.

#402fb8 Color Conversion

The hexadecimal color #402fb8 has RGB values of R:64, G:47, B:184 and CMYK values of C:0.65, M:0.74, Y:0, K:0.28. Its decimal value is 4206520.

Hex triplet 402fb8 #402fb8
RGB Decimal 64, 47, 184 rgb(64,47,184)
RGB Percent 25.1, 18.4, 72.2 rgb(25.1%,18.4%,72.2%)
CMYK 65, 74, 0, 28
HSL 247.4°, 59.3, 45.3 hsl(247.4,59.3%,45.3%)
HSV (or HSB) 247.4°, 74.5, 72.2
Web Safe 3333cc #3333cc
CIE-LAB 30.839, 47.407, -69.309
XYZ 11.781, 6.583, 45.995
xyY 0.183, 0.102, 6.583
CIE-LCH 30.839, 83.971, 304.372
CIE-LUV 30.839, -3.294, -92.176
Hunter-Lab 25.658, 37.059, -88.324
Binary 01000000, 00101111, 10111000

Color Schemes with #402fb8

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

Alternatives to #402fb8

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

Similar Colors

#402fb8 Preview

Text with hexadecimal color #402fb8

This text has a font color of #402fb8.

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

This paragraph has a background color of #402fb8.

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

This element has a border color of #402fb8.

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

Shades and Tints of #402fb8

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, #04030c is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402fb8

A tone is produced by adding gray to any pure hue. In this case, #6f6d7a is the less saturated color, while #1f03e4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402fb8 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
  • #444444 Achromatopsia 0.005% of the population
  • #43405b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005486 Deuteranopia 1% of men
  • #005a5f Tritanopia 0.001% of the population
Trichromacy
  • #1743a5 Protanomaly 1% of men, 0.01% of women
  • #174698 Deuteranomaly 6% of men, 0.4% of women
  • #174a7f Tritanomaly 0.01% of the population