#40307f Color Information

In a RGB color space, hex #40307f is composed of 25.1% red, 18.8% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 62.2% magenta, 0% yellow and 50.2% black. It has a hue angle of 252.2 degrees, a saturation of 45.1% and a lightness of 34.3%. #40307f color hex could be obtained by blending #8060fe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 19
    • B 50
    RGB color chart
    • C 50
    • M 62
    • Y 0
    • K 50
    CMYK color chart

#40307f color description : Dark moderate blue.

#40307f Color Conversion

The hexadecimal color #40307f has RGB values of R:64, G:48, B:127 and CMYK values of C:0.5, M:0.62, Y:0, K:0.5. Its decimal value is 4206719.

Hex triplet 40307f #40307f
RGB Decimal 64, 48, 127 rgb(64,48,127)
RGB Percent 25.1, 18.8, 49.8 rgb(25.1%,18.8%,49.8%)
CMYK 50, 62, 0, 50
HSL 252.2°, 45.1, 34.3 hsl(252.2,45.1%,34.3%)
HSV (or HSB) 252.2°, 62.2, 49.8
Web Safe 333366 #333366
CIE-LAB 25.969, 28.695, -42.497
XYZ 7.001, 4.736, 20.623
xyY 0.216, 0.146, 4.736
CIE-LCH 25.969, 51.278, 304.029
CIE-LUV 25.969, 0.786, -55.258
Hunter-Lab 21.762, 19.342, -40.951
Binary 01000000, 00110000, 01111111

Color Schemes with #40307f

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

Alternatives to #40307f

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

Similar Colors

#40307f Preview

Text with hexadecimal color #40307f

This text has a font color of #40307f.

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

This paragraph has a background color of #40307f.

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

This element has a border color of #40307f.

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

Shades and Tints of #40307f

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

Shade Color Variation
Tint Color Variation

Tones of #40307f

A tone is produced by adding gray to any pure hue. In this case, #54525d is the less saturated color, while #2401ae is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40307f 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #3e3b4b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004878 Deuteranopia 1% of men
  • #364a50 Tritanopia 0.001% of the population
Trichromacy
  • #173d84 Protanomaly 1% of men, 0.01% of women
  • #173f7a Deuteranomaly 6% of men, 0.4% of women
  • #3a4161 Tritanomaly 0.01% of the population