#40508a Color Information

In a RGB color space, hex #40508a is composed of 25.1% red, 31.4% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 42% magenta, 0% yellow and 45.9% black. It has a hue angle of 227 degrees, a saturation of 36.6% and a lightness of 39.6%. #40508a color hex could be obtained by blending #80a0ff with #000015. Closest websafe color is: #336699.

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

#40508a color description : Dark moderate blue.

#40508a Color Conversion

The hexadecimal color #40508a has RGB values of R:64, G:80, B:138 and CMYK values of C:0.54, M:0.42, Y:0, K:0.46. Its decimal value is 4214922.

Hex triplet 40508a #40508a
RGB Decimal 64, 80, 138 rgb(64,80,138)
RGB Percent 25.1, 31.4, 54.1 rgb(25.1%,31.4%,54.1%)
CMYK 54, 42, 0, 46
HSL 227°, 36.6, 39.6 hsl(227,36.6%,39.6%)
HSV (or HSB) 227°, 53.6, 54.1
Web Safe 336699 #336699
CIE-LAB 35.325, 11.377, -34.32
XYZ 9.569, 8.662, 25.211
xyY 0.22, 0.199, 8.662
CIE-LCH 35.325, 36.157, 288.341
CIE-LUV 35.325, -9.144, -48.662
Hunter-Lab 29.431, 6.535, -30.187
Binary 01000000, 01010000, 10001010

Color Schemes with #40508a

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

Alternatives to #40508a

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

Similar Colors

#40508a Preview

Text with hexadecimal color #40508a

This text has a font color of #40508a.

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

This paragraph has a background color of #40508a.

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

This element has a border color of #40508a.

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

Shades and Tints of #40508a

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

Shade Color Variation
Tint Color Variation

Tones of #40508a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40508a 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
  • #435a91 Protanopia 1% of men
  • #3a5c8e Deuteranopia 1% of men
  • #396269 Tritanopia 0.001% of the population
Trichromacy
  • #42568e Protanomaly 1% of men, 0.01% of women
  • #3c578d Deuteranomaly 6% of men, 0.4% of women
  • #3b5b75 Tritanomaly 0.01% of the population