#40508d Color Information

In a RGB color space, hex #40508d is composed of 25.1% red, 31.4% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 43.3% magenta, 0% yellow and 44.7% black. It has a hue angle of 227.5 degrees, a saturation of 37.6% and a lightness of 40.2%. #40508d color hex could be obtained by blending #80a0ff with #00001b. Closest websafe color is: #336699.

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

#40508d color description : Dark moderate blue.

#40508d Color Conversion

The hexadecimal color #40508d has RGB values of R:64, G:80, B:141 and CMYK values of C:0.55, M:0.43, Y:0, K:0.45. Its decimal value is 4214925.

Hex triplet 40508d #40508d
RGB Decimal 64, 80, 141 rgb(64,80,141)
RGB Percent 25.1, 31.4, 55.3 rgb(25.1%,31.4%,55.3%)
CMYK 55, 43, 0, 45
HSL 227.5°, 37.6, 40.2 hsl(227.5,37.6%,40.2%)
HSV (or HSB) 227.5°, 54.6, 55.3
Web Safe 336699 #336699
CIE-LAB 35.498, 12.401, -35.877
XYZ 9.79, 8.75, 26.371
xyY 0.218, 0.195, 8.75
CIE-LCH 35.498, 37.959, 289.068
CIE-LUV 35.498, -9.215, -51.053
Hunter-Lab 29.58, 7.31, -32.151
Binary 01000000, 01010000, 10001101

Color Schemes with #40508d

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

Alternatives to #40508d

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

Similar Colors

#40508d Preview

Text with hexadecimal color #40508d

This text has a font color of #40508d.

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

This paragraph has a background color of #40508d.

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

This element has a border color of #40508d.

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

Shades and Tints of #40508d

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

Shade Color Variation
Tint Color Variation

Tones of #40508d

A tone is produced by adding gray to any pure hue. In this case, #60626d is the less saturated color, while #012bcc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40508d 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.

  • #525252 Achromatopsia 0.005% of the population
  • #4e525e Atypical Achromatopsia 0.001% of the population
  • #425a94 Protanopia 1% of men
  • #365c91 Deuteranopia 1% of men
  • #376269 Tritanopia 0.001% of the population
  • #415691 Protanomaly 1% of men, 0.01% of women
  • #3a588f Deuteranomaly 6% of men, 0.4% of women
  • #3a5b76 Tritanomaly 0.01% of the population