#40338b Color Information

In a RGB color space, hex #40338b is composed of 25.1% red, 20% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 63.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 248.9 degrees, a saturation of 46.3% and a lightness of 37.3%. #40338b color hex could be obtained by blending #8066ff with #000017. Closest websafe color is: #333399.

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

#40338b color description : Dark moderate blue.

#40338b Color Conversion

The hexadecimal color #40338b has RGB values of R:64, G:51, B:139 and CMYK values of C:0.54, M:0.63, Y:0, K:0.45. Its decimal value is 4207499.

Hex triplet 40338b #40338b
RGB Decimal 64, 51, 139 rgb(64,51,139)
RGB Percent 25.1, 20, 54.5 rgb(25.1%,20%,54.5%)
CMYK 54, 63, 0, 45
HSL 248.9°, 46.3, 37.3 hsl(248.9,46.3%,37.3%)
HSV (or HSB) 248.9°, 63.3, 54.5
Web Safe 333399 #333399
CIE-LAB 27.632, 30.666, -47.294
XYZ 7.958, 5.321, 25.033
xyY 0.208, 0.139, 5.321
CIE-LCH 27.632, 56.366, 302.96
CIE-LUV 27.632, -0.868, -62.607
Hunter-Lab 23.068, 21.204, -48.19
Binary 01000000, 00110011, 10001011

Color Schemes with #40338b

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

Alternatives to #40338b

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

Similar Colors

#40338b Preview

Text with hexadecimal color #40338b

This text has a font color of #40338b.

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

This paragraph has a background color of #40338b.

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

This element has a border color of #40338b.

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

Shades and Tints of #40338b

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, #05040a is the darkest color, while #fbfafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40338b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40338b 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
  • #414141 Achromatopsia 0.005% of the population
  • #413e50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488e Protanopia 1% of men
  • #004c7d Deuteranopia 1% of men
  • #304f55 Tritanopia 0.001% of the population
Trichromacy
  • #17408d Protanomaly 1% of men, 0.01% of women
  • #174382 Deuteranomaly 6% of men, 0.4% of women
  • #364569 Tritanomaly 0.01% of the population