#402fab Color Information

In a RGB color space, hex #402fab is composed of 25.1% red, 18.4% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 72.5% magenta, 0% yellow and 32.9% black. It has a hue angle of 248.2 degrees, a saturation of 56.9% and a lightness of 42.7%. #402fab color hex could be obtained by blending #805eff with #000057. Closest websafe color is: #333399.

    • R 25
    • G 18
    • B 67
    RGB color chart
    • C 63
    • M 73
    • Y 0
    • K 33
    CMYK color chart

#402fab color description : Dark blue.

#402fab Color Conversion

The hexadecimal color #402fab has RGB values of R:64, G:47, B:171 and CMYK values of C:0.63, M:0.73, Y:0, K:0.33. Its decimal value is 4206507.

Hex triplet 402fab #402fab
RGB Decimal 64, 47, 171 rgb(64,47,171)
RGB Percent 25.1, 18.4, 67.1 rgb(25.1%,18.4%,67.1%)
CMYK 63, 73, 0, 33
HSL 248.2°, 56.9, 42.7 hsl(248.2,56.9%,42.7%)
HSV (or HSB) 248.2°, 72.5, 67.1
Web Safe 333399 #333399
CIE-LAB 29.571, 43.337, -63.64
XYZ 10.48, 6.063, 39.144
xyY 0.188, 0.109, 6.063
CIE-LCH 29.571, 76.995, 304.253
CIE-LUV 29.571, -2.42, -84.192
Hunter-Lab 24.623, 32.884, -77.019
Binary 01000000, 00101111, 10101011

Color Schemes with #402fab

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

Alternatives to #402fab

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

Similar Colors

#402fab Preview

Text with hexadecimal color #402fab

This text has a font color of #402fab.

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

This paragraph has a background color of #402fab.

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

This element has a border color of #402fab.

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

Shades and Tints of #402fab

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

Shade Color Variation
Tint Color Variation

Tones of #402fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402fab 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
  • #424242 Achromatopsia 0.005% of the population
  • #423e57 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d95 Protanopia 1% of men
  • #005182 Deuteranopia 1% of men
  • #00575d Tritanopia 0.001% of the population
Trichromacy
  • #17429d Protanomaly 1% of men, 0.01% of women
  • #174491 Deuteranomaly 6% of men, 0.4% of women
  • #174879 Tritanomaly 0.01% of the population