colorhexa.com

#402bac hex color

In a RGB color space, hex #402bac is composed of 25.1% red, 16.9% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 62.8% cyan, 75% magenta, 0% yellow and 32.5% black. It has a hue angle of 249.8 degrees, a saturation of 60% and a lightness of 42.2%. #402bac color hex could be obtained by blending #8056ff with #000059. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 67

    RGB color chart

    • C 63
    • M 75
    • Y 0
    • K 33

    CMYK color chart

#402bac color description : Dark blue.

The hexadecimal color #402bac has RGB values of R:64, G:43, B:172 and CMYK values of C:0.63, M:0.75, Y:0, K:0.33. Its decimal value is 4205484.

Hex triplet 402bac #402bac
RGB Decimal 64, 43, 172 rgb(64,43,172)
RGB Percent 25.1, 16.9, 67.5 rgb(25.1%,16.9%,67.5%)
CMYK 63, 75, 0, 33
HSL 249.8°, 60, 42.2 hsl(249.8,60%,42.2%)
HSV (or HSB) 249.8°, 75, 67.5
Web Safe 333399 #333399
CIE-LAB 28.892, 45.829, -65.358
XYZ 10.423, 5.796, 39.597
xyY 0.187, 0.104, 5.796
CIE-LCH 28.892, 79.824, 305.038
CIE-LUV 28.892, -1.86, -85.263
Hunter-Lab 24.075, 35.152, -80.665
Binary 01000000, 00101011, 10101100

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #402bac

This text has a font color of #402bac.

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

#402bac background color

This paragraph has a background color of #402bac.

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

#402bac border color

This element has a border color of #402bac.

<div style="border:1px solid #402bac;">Content here</div>

CSS codes

.text {color:#402bac;}
.background {background-color:#402bac;}
.border {border:1px solid #402bac;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #402bac 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

  • #404040 Achromatopsia 0.005% of the population
  • #403c56 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004b93 Protanopia 1% of men
  • #004f7f Deuteranopia 1% of men
  • #00555b Tritanopia 0.001% of the population

Trichromacy

  • #173f9c Protanomaly 1% of men, 0.01% of women
  • #17428f Deuteranomaly 6% of men, 0.4% of women
  • #174678 Tritanomaly 0.01% of the population