#40397f Color Information

In a RGB color space, hex #40397f is composed of 25.1% red, 22.4% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 55.1% magenta, 0% yellow and 50.2% black. It has a hue angle of 246 degrees, a saturation of 38% and a lightness of 36.1%. #40397f color hex could be obtained by blending #8072fe with #000000. Closest websafe color is: #333366.

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

#40397f color description : Dark moderate blue.

#40397f Color Conversion

The hexadecimal color #40397f has RGB values of R:64, G:57, B:127 and CMYK values of C:0.5, M:0.55, Y:0, K:0.5. Its decimal value is 4209023.

Hex triplet 40397f #40397f
RGB Decimal 64, 57, 127 rgb(64,57,127)
RGB Percent 25.1, 22.4, 49.8 rgb(25.1%,22.4%,49.8%)
CMYK 50, 55, 0, 50
HSL 246°, 38, 36.1 hsl(246,38%,36.1%)
HSV (or HSB) 246°, 55.1, 49.8
Web Safe 333366 #333366
CIE-LAB 28.243, 22.871, -38.827
XYZ 7.408, 5.548, 20.758
xyY 0.22, 0.165, 5.548
CIE-LCH 28.243, 45.062, 300.5
CIE-LUV 28.243, -1.491, -52.05
Hunter-Lab 23.555, 14.913, -35.762
Binary 01000000, 00111001, 01111111

Color Schemes with #40397f

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

Alternatives to #40397f

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

Similar Colors

#40397f Preview

Text with hexadecimal color #40397f

This text has a font color of #40397f.

<span style="color:#40397f;">Text here</span>
#40397f background color

This paragraph has a background color of #40397f.

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

This element has a border color of #40397f.

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

Shades and Tints of #40397f

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

Shade Color Variation
Tint Color Variation

Tones of #40397f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40397f 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
  • #434343 Achromatopsia 0.005% of the population
  • #42414f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f4a8b Protanopia 1% of men
  • #094d81 Deuteranopia 1% of men
  • #385055 Tritanopia 0.001% of the population
Trichromacy
  • #2b4387 Protanomaly 1% of men, 0.01% of women
  • #1d4680 Deuteranomaly 6% of men, 0.4% of women
  • #3b4764 Tritanomaly 0.01% of the population