#40508f Color Information

In a RGB color space, hex #40508f is composed of 25.1% red, 31.4% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 44.1% magenta, 0% yellow and 43.9% black. It has a hue angle of 227.8 degrees, a saturation of 38.2% and a lightness of 40.6%. #40508f color hex could be obtained by blending #80a0ff with #00001f. Closest websafe color is: #336699.

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

#40508f color description : Dark moderate blue.

#40508f Color Conversion

The hexadecimal color #40508f has RGB values of R:64, G:80, B:143 and CMYK values of C:0.55, M:0.44, Y:0, K:0.44. Its decimal value is 4214927.

Hex triplet 40508f #40508f
RGB Decimal 64, 80, 143 rgb(64,80,143)
RGB Percent 25.1, 31.4, 56.1 rgb(25.1%,31.4%,56.1%)
CMYK 55, 44, 0, 44
HSL 227.8°, 38.2, 40.6 hsl(227.8,38.2%,40.6%)
HSV (or HSB) 227.8°, 55.2, 56.1
Web Safe 336699 #336699
CIE-LAB 35.616, 13.086, -36.908
XYZ 9.94, 8.81, 27.162
xyY 0.217, 0.192, 8.81
CIE-LCH 35.616, 39.159, 289.523
CIE-LUV 35.616, -9.262, -52.639
Hunter-Lab 29.682, 7.834, -33.479
Binary 01000000, 01010000, 10001111

Color Schemes with #40508f

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

Alternatives to #40508f

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

Similar Colors

#40508f Preview

Text with hexadecimal color #40508f

This text has a font color of #40508f.

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

This paragraph has a background color of #40508f.

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

This element has a border color of #40508f.

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

Shades and Tints of #40508f

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

Shade Color Variation
Tint Color Variation

Tones of #40508f

A tone is produced by adding gray to any pure hue. In this case, #60636f is the less saturated color, while #002acf is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40508f 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
  • #405a96 Protanopia 1% of men
  • #345d93 Deuteranopia 1% of men
  • #36636a Tritanopia 0.001% of the population
  • #405693 Protanomaly 1% of men, 0.01% of women
  • #385891 Deuteranomaly 6% of men, 0.4% of women
  • #395c77 Tritanomaly 0.01% of the population