#40387f Color Information

In a RGB color space, hex #40387f is composed of 25.1% red, 22% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 55.9% magenta, 0% yellow and 50.2% black. It has a hue angle of 246.8 degrees, a saturation of 38.8% and a lightness of 35.9%. #40387f color hex could be obtained by blending #8070fe with #000000. Closest websafe color is: #333366.

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

#40387f color description : Dark moderate blue.

#40387f Color Conversion

The hexadecimal color #40387f has RGB values of R:64, G:56, B:127 and CMYK values of C:0.5, M:0.56, Y:0, K:0.5. Its decimal value is 4208767.

Hex triplet 40387f #40387f
RGB Decimal 64, 56, 127 rgb(64,56,127)
RGB Percent 25.1, 22, 49.8 rgb(25.1%,22%,49.8%)
CMYK 50, 56, 0, 50
HSL 246.8°, 38.8, 35.9 hsl(246.8,38.8%,35.9%)
HSV (or HSB) 246.8°, 55.9, 49.8
Web Safe 333366 #333366
CIE-LAB 27.981, 23.527, -39.248
XYZ 7.359, 5.45, 20.742
xyY 0.219, 0.162, 5.45
CIE-LCH 27.981, 45.76, 300.941
CIE-LUV 27.981, -1.219, -52.456
Hunter-Lab 23.346, 15.406, -36.334
Binary 01000000, 00111000, 01111111

Color Schemes with #40387f

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

Alternatives to #40387f

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

Similar Colors

#40387f Preview

Text with hexadecimal color #40387f

This text has a font color of #40387f.

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

This paragraph has a background color of #40387f.

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

This element has a border color of #40387f.

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

Shades and Tints of #40387f

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 #f6f6fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40387f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40387f 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
  • #424242 Achromatopsia 0.005% of the population
  • #42404e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1b498c Protanopia 1% of men
  • #004d80 Deuteranopia 1% of men
  • #384f55 Tritanopia 0.001% of the population
Trichromacy
  • #284387 Protanomaly 1% of men, 0.01% of women
  • #174580 Deuteranomaly 6% of men, 0.4% of women
  • #3b4664 Tritanomaly 0.01% of the population