#40508c Color Information

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

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

#40508c color description : Dark moderate blue.

#40508c Color Conversion

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

Hex triplet 40508c #40508c
RGB Decimal 64, 80, 140 rgb(64,80,140)
RGB Percent 25.1, 31.4, 54.9 rgb(25.1%,31.4%,54.9%)
CMYK 54, 43, 0, 45
HSL 227.4°, 37.3, 40 hsl(227.4,37.3%,40%)
HSV (or HSB) 227.4°, 54.3, 54.9
Web Safe 336699 #336699
CIE-LAB 35.44, 12.059, -35.359
XYZ 9.716, 8.72, 25.981
xyY 0.219, 0.196, 8.72
CIE-LCH 35.44, 37.359, 288.832
CIE-LUV 35.44, -9.191, -50.258
Hunter-Lab 29.53, 7.05, -31.492
Binary 01000000, 01010000, 10001100

Color Schemes with #40508c

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

Alternatives to #40508c

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

Similar Colors

#40508c Preview

Text with hexadecimal color #40508c

This text has a font color of #40508c.

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

This paragraph has a background color of #40508c.

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

This element has a border color of #40508c.

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

Shades and Tints of #40508c

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

Shade Color Variation
Tint Color Variation

Tones of #40508c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40508c 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
  • #4e525e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #425a93 Protanopia 1% of men
  • #375c90 Deuteranopia 1% of men
  • #386269 Tritanopia 0.001% of the population
Trichromacy
  • #415690 Protanomaly 1% of men, 0.01% of women
  • #3a588e Deuteranomaly 6% of men, 0.4% of women
  • #3a5b76 Tritanomaly 0.01% of the population