#40508b Color Information

In a RGB color space, hex #40508b is composed of 25.1% red, 31.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 42.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 227.2 degrees, a saturation of 36.9% and a lightness of 39.8%. #40508b color hex could be obtained by blending #80a0ff with #000017. Closest websafe color is: #336699.

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

#40508b color description : Dark moderate blue.

#40508b Color Conversion

The hexadecimal color #40508b has RGB values of R:64, G:80, B:139 and CMYK values of C:0.54, M:0.42, Y:0, K:0.45. Its decimal value is 4214923.

Hex triplet 40508b #40508b
RGB Decimal 64, 80, 139 rgb(64,80,139)
RGB Percent 25.1, 31.4, 54.5 rgb(25.1%,31.4%,54.5%)
CMYK 54, 42, 0, 45
HSL 227.2°, 36.9, 39.8 hsl(227.2,36.9%,39.8%)
HSV (or HSB) 227.2°, 54, 54.5
Web Safe 336699 #336699
CIE-LAB 35.382, 11.718, -34.84
XYZ 9.642, 8.691, 25.594
xyY 0.22, 0.198, 8.691
CIE-LCH 35.382, 36.758, 288.589
CIE-LUV 35.382, -9.167, -49.461
Hunter-Lab 29.48, 6.792, -30.838
Binary 01000000, 01010000, 10001011

Color Schemes with #40508b

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

Alternatives to #40508b

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

Similar Colors

#40508b Preview

Text with hexadecimal color #40508b

This text has a font color of #40508b.

<span style="color:#40508b;">Text here</span>
#40508b background color

This paragraph has a background color of #40508b.

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

This element has a border color of #40508b.

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

Shades and Tints of #40508b

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

Shade Color Variation
Tint Color Variation

Tones of #40508b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40508b 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
  • #525252 Achromatopsia 0.005% of the population
  • #4e525d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #435a92 Protanopia 1% of men
  • #395c8f Deuteranopia 1% of men
  • #386269 Tritanopia 0.001% of the population
Trichromacy
  • #42568f Protanomaly 1% of men, 0.01% of women
  • #3b588d Deuteranomaly 6% of men, 0.4% of women
  • #3b5b75 Tritanomaly 0.01% of the population