#40388b Color Information

In a RGB color space, hex #40388b is composed of 25.1% red, 22% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 59.7% magenta, 0% yellow and 45.5% black. It has a hue angle of 245.8 degrees, a saturation of 42.6% and a lightness of 38.2%. #40388b color hex could be obtained by blending #8070ff with #000017. Closest websafe color is: #333399.

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

#40388b color description : Dark moderate blue.

#40388b Color Conversion

The hexadecimal color #40388b has RGB values of R:64, G:56, B:139 and CMYK values of C:0.54, M:0.6, Y:0, K:0.45. Its decimal value is 4208779.

Hex triplet 40388b #40388b
RGB Decimal 64, 56, 139 rgb(64,56,139)
RGB Percent 25.1, 22, 54.5 rgb(25.1%,22%,54.5%)
CMYK 54, 60, 0, 45
HSL 245.8°, 42.6, 38.2 hsl(245.8,42.6%,38.2%)
HSV (or HSB) 245.8°, 59.7, 54.5
Web Safe 333399 #333399
CIE-LAB 28.856, 27.479, -45.308
XYZ 8.188, 5.782, 25.109
xyY 0.21, 0.148, 5.782
CIE-LCH 28.856, 52.99, 301.236
CIE-LUV 28.856, -2.05, -61.022
Hunter-Lab 24.046, 18.699, -45.079
Binary 01000000, 00111000, 10001011

Color Schemes with #40388b

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

Alternatives to #40388b

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

Similar Colors

#40388b Preview

Text with hexadecimal color #40388b

This text has a font color of #40388b.

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

This paragraph has a background color of #40388b.

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

This element has a border color of #40388b.

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

Shades and Tints of #40388b

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, #06050d is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40388b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40388b 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
  • #444444 Achromatopsia 0.005% of the population
  • #434252 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b93 Protanopia 1% of men
  • #004f82 Deuteranopia 1% of men
  • #315258 Tritanopia 0.001% of the population
Trichromacy
  • #174490 Protanomaly 1% of men, 0.01% of women
  • #174685 Deuteranomaly 6% of men, 0.4% of women
  • #36486a Tritanomaly 0.01% of the population