#402baa Color Information

In a RGB color space, hex #402baa is composed of 25.1% red, 16.9% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 62.4% cyan, 74.7% magenta, 0% yellow and 33.3% black. It has a hue angle of 249.9 degrees, a saturation of 59.6% and a lightness of 41.8%. #402baa color hex could be obtained by blending #8056ff with #000055. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 67
    RGB color chart
    • C 62
    • M 75
    • Y 0
    • K 33
    CMYK color chart

#402baa color description : Dark blue.

#402baa Color Conversion

The hexadecimal color #402baa has RGB values of R:64, G:43, B:170 and CMYK values of C:0.62, M:0.75, Y:0, K:0.33. Its decimal value is 4205482.

Hex triplet 402baa #402baa
RGB Decimal 64, 43, 170 rgb(64,43,170)
RGB Percent 25.1, 16.9, 66.7 rgb(25.1%,16.9%,66.7%)
CMYK 62, 75, 0, 33
HSL 249.9°, 59.6, 41.8 hsl(249.9,59.6%,41.8%)
HSV (or HSB) 249.9°, 74.7, 66.7
Web Safe 333399 #333399
CIE-LAB 28.694, 45.213, -64.482
XYZ 10.233, 5.72, 38.593
xyY 0.188, 0.105, 5.72
CIE-LCH 28.694, 78.753, 305.037
CIE-LUV 28.694, -1.714, -84.041
Hunter-Lab 23.916, 34.52, -78.935
Binary 01000000, 00101011, 10101010

Color Schemes with #402baa

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

Alternatives to #402baa

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

Similar Colors

#402baa Preview

Text with hexadecimal color #402baa

This text has a font color of #402baa.

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

This paragraph has a background color of #402baa.

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

This element has a border color of #402baa.

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

Shades and Tints of #402baa

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, #05030d is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402baa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402baa 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
  • #403c55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b92 Protanopia 1% of men
  • #004f7f Deuteranopia 1% of men
  • #00545a Tritanopia 0.001% of the population
Trichromacy
  • #173f9a Protanomaly 1% of men, 0.01% of women
  • #17428e Deuteranomaly 6% of men, 0.4% of women
  • #174577 Tritanomaly 0.01% of the population