#40308f Color Information

In a RGB color space, hex #40308f is composed of 25.1% red, 18.8% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 66.4% magenta, 0% yellow and 43.9% black. It has a hue angle of 250.1 degrees, a saturation of 49.7% and a lightness of 37.5%. #40308f color hex could be obtained by blending #8060ff with #00001f. Closest websafe color is: #333399.

    • R 25
    • G 19
    • B 56
    RGB color chart
    • C 55
    • M 66
    • Y 0
    • K 44
    CMYK color chart

#40308f color description : Dark moderate blue.

#40308f Color Conversion

The hexadecimal color #40308f has RGB values of R:64, G:48, B:143 and CMYK values of C:0.55, M:0.66, Y:0, K:0.44. Its decimal value is 4206735.

Hex triplet 40308f #40308f
RGB Decimal 64, 48, 143 rgb(64,48,143)
RGB Percent 25.1, 18.8, 56.1 rgb(25.1%,18.8%,56.1%)
CMYK 55, 66, 0, 44
HSL 250.1°, 49.7, 37.5 hsl(250.1,49.7%,37.5%)
HSV (or HSB) 250.1°, 66.4, 56.1
Web Safe 333399 #333399
CIE-LAB 27.261, 33.82, -50.374
XYZ 8.128, 5.187, 26.558
xyY 0.204, 0.13, 5.187
CIE-LCH 27.261, 60.674, 303.877
CIE-LUV 27.261, -0.535, -66.076
Hunter-Lab 22.775, 23.851, -53.197
Binary 01000000, 00110000, 10001111

Color Schemes with #40308f

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

Alternatives to #40308f

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

Similar Colors

#40308f Preview

Text with hexadecimal color #40308f

This text has a font color of #40308f.

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

This paragraph has a background color of #40308f.

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

This element has a border color of #40308f.

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

Shades and Tints of #40308f

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 #40308f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40308f 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
  • #404040 Achromatopsia 0.005% of the population
  • #403d50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488c Protanopia 1% of men
  • #004c7b Deuteranopia 1% of men
  • #2d4f55 Tritanopia 0.001% of the population
Trichromacy
  • #173f8d Protanomaly 1% of men, 0.01% of women
  • #174182 Deuteranomaly 6% of men, 0.4% of women
  • #33436a Tritanomaly 0.01% of the population