#40338c Color Information

In a RGB color space, hex #40338c is composed of 25.1% red, 20% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 63.6% magenta, 0% yellow and 45.1% black. It has a hue angle of 248.8 degrees, a saturation of 46.6% and a lightness of 37.5%. #40338c color hex could be obtained by blending #8066ff with #000019. Closest websafe color is: #333399.

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

#40338c color description : Dark moderate blue.

#40338c Color Conversion

The hexadecimal color #40338c has RGB values of R:64, G:51, B:140 and CMYK values of C:0.54, M:0.64, Y:0, K:0.45. Its decimal value is 4207500.

Hex triplet 40338c #40338c
RGB Decimal 64, 51, 140 rgb(64,51,140)
RGB Percent 25.1, 20, 54.9 rgb(25.1%,20%,54.9%)
CMYK 54, 64, 0, 45
HSL 248.8°, 46.6, 37.5 hsl(248.8,46.6%,37.5%)
HSV (or HSB) 248.8°, 63.6, 54.9
Web Safe 333399 #333399
CIE-LAB 27.712, 30.991, -47.784
XYZ 8.031, 5.351, 25.419
xyY 0.207, 0.138, 5.351
CIE-LCH 27.712, 56.954, 302.967
CIE-LUV 27.712, -0.944, -63.288
Hunter-Lab 23.132, 21.491, -48.96
Binary 01000000, 00110011, 10001100

Color Schemes with #40338c

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

Alternatives to #40338c

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

Similar Colors

#40338c Preview

Text with hexadecimal color #40338c

This text has a font color of #40338c.

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

This paragraph has a background color of #40338c.

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

This element has a border color of #40338c.

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

Shades and Tints of #40338c

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

Shade Color Variation
Tint Color Variation

Tones of #40338c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40338c 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
  • #00498e Protanopia 1% of men
  • #004c7d Deuteranopia 1% of men
  • #2f5055 Tritanopia 0.001% of the population
Trichromacy
  • #17418d Protanomaly 1% of men, 0.01% of women
  • #174382 Deuteranomaly 6% of men, 0.4% of women
  • #354569 Tritanomaly 0.01% of the population