#40408c Color Information

In a RGB color space, hex #40408c is composed of 25.1% red, 25.1% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 54.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 240 degrees, a saturation of 37.3% and a lightness of 40%. #40408c color hex could be obtained by blending #8080ff with #000019. Closest websafe color is: #333399.

    • R 25
    • G 25
    • B 55
    RGB color chart
    • C 54
    • M 54
    • Y 0
    • K 45
    CMYK color chart

#40408c color description : Dark moderate blue.

#40408c Color Conversion

The hexadecimal color #40408c has RGB values of R:64, G:64, B:140 and CMYK values of C:0.54, M:0.54, Y:0, K:0.45. Its decimal value is 4210828.

Hex triplet 40408c #40408c
RGB Decimal 64, 64, 140 rgb(64,64,140)
RGB Percent 25.1, 25.1, 54.9 rgb(25.1%,25.1%,54.9%)
CMYK 54, 54, 0, 45
HSL 240°, 37.3, 40 hsl(240,37.3%,40%)
HSV (or HSB) 240°, 54.3, 54.9
Web Safe 333399 #333399
CIE-LAB 30.996, 22.597, -42.469
XYZ 8.68, 6.65, 25.636
xyY 0.212, 0.162, 6.65
CIE-LCH 30.996, 48.107, 298.016
CIE-LUV 30.996, -4.229, -58.595
Hunter-Lab 25.787, 14.958, -40.89
Binary 01000000, 01000000, 10001100

Color Schemes with #40408c

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

Alternatives to #40408c

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

Similar Colors

#40408c Preview

Text with hexadecimal color #40408c

This text has a font color of #40408c.

<span style="color:#40408c;">Text here</span>
#40408c background color

This paragraph has a background color of #40408c.

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

This element has a border color of #40408c.

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

Shades and Tints of #40408c

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

Shade Color Variation
Tint Color Variation

Tones of #40408c

A tone is produced by adding gray to any pure hue. In this case, #5f5f6d is the less saturated color, while #0101cb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40408c 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
  • #494949 Achromatopsia 0.005% of the population
  • #474756 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #205097 Protanopia 1% of men
  • #00538b Deuteranopia 1% of men
  • #33575e Tritanopia 0.001% of the population
Trichromacy
  • #2b4a93 Protanomaly 1% of men, 0.01% of women
  • #174c8b Deuteranomaly 6% of men, 0.4% of women
  • #374f6e Tritanomaly 0.01% of the population