#402baf Color Information

In a RGB color space, hex #402baf is composed of 25.1% red, 16.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 63.4% cyan, 75.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 249.5 degrees, a saturation of 60.6% and a lightness of 42.7%. #402baf color hex could be obtained by blending #8056ff with #00005f. Closest websafe color is: #333399.

    • R 25
    • G 17
    • B 69
    RGB color chart
    • C 63
    • M 75
    • Y 0
    • K 31
    CMYK color chart

#402baf color description : Dark blue.

#402baf Color Conversion

The hexadecimal color #402baf has RGB values of R:64, G:43, B:175 and CMYK values of C:0.63, M:0.75, Y:0, K:0.31. Its decimal value is 4205487.

Hex triplet 402baf #402baf
RGB Decimal 64, 43, 175 rgb(64,43,175)
RGB Percent 25.1, 16.9, 68.6 rgb(25.1%,16.9%,68.6%)
CMYK 63, 75, 0, 31
HSL 249.5°, 60.6, 42.7 hsl(249.5,60.6%,42.7%)
HSV (or HSB) 249.5°, 75.4, 68.6
Web Safe 333399 #333399
CIE-LAB 29.191, 46.75, -66.663
XYZ 10.715, 5.912, 41.132
xyY 0.186, 0.102, 5.912
CIE-LCH 29.191, 81.422, 305.041
CIE-LUV 29.191, -2.077, -87.09
Hunter-Lab 24.316, 36.104, -83.273
Binary 01000000, 00101011, 10101111

Color Schemes with #402baf

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

Alternatives to #402baf

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

Similar Colors

#402baf Preview

Text with hexadecimal color #402baf

This text has a font color of #402baf.

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

This paragraph has a background color of #402baf.

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

This element has a border color of #402baf.

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

Shades and Tints of #402baf

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 #f3f1fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #402baf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #402baf 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
  • #004c94 Protanopia 1% of men
  • #005080 Deuteranopia 1% of men
  • #00565b Tritanopia 0.001% of the population
Trichromacy
  • #17409e Protanomaly 1% of men, 0.01% of women
  • #174291 Deuteranomaly 6% of men, 0.4% of women
  • #17467a Tritanomaly 0.01% of the population