#40308b Color Information

In a RGB color space, hex #40308b is composed of 25.1% red, 18.8% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 65.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 250.5 degrees, a saturation of 48.7% and a lightness of 36.7%. #40308b color hex could be obtained by blending #8060ff with #000017. Closest websafe color is: #333399.

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

#40308b color description : Dark moderate blue.

#40308b Color Conversion

The hexadecimal color #40308b has RGB values of R:64, G:48, B:139 and CMYK values of C:0.54, M:0.65, Y:0, K:0.45. Its decimal value is 4206731.

Hex triplet 40308b #40308b
RGB Decimal 64, 48, 139 rgb(64,48,139)
RGB Percent 25.1, 18.8, 54.5 rgb(25.1%,18.8%,54.5%)
CMYK 54, 65, 0, 45
HSL 250.5°, 48.7, 36.7 hsl(250.5,48.7%,36.7%)
HSV (or HSB) 250.5°, 65.5, 54.5
Web Safe 333399 #333399
CIE-LAB 26.927, 32.535, -48.44
XYZ 7.831, 5.068, 24.99
xyY 0.207, 0.134, 5.068
CIE-LCH 26.927, 58.352, 303.888
CIE-LUV 26.927, -0.216, -63.413
Hunter-Lab 22.512, 22.695, -50.06
Binary 01000000, 00110000, 10001011

Color Schemes with #40308b

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

Alternatives to #40308b

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

Similar Colors

#40308b Preview

Text with hexadecimal color #40308b

This text has a font color of #40308b.

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

This paragraph has a background color of #40308b.

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

This element has a border color of #40308b.

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

Shades and Tints of #40308b

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

Shade Color Variation
Tint Color Variation

Tones of #40308b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40308b 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #3f3c4e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b7a Deuteranopia 1% of men
  • #2f4e53 Tritanopia 0.001% of the population
Trichromacy
  • #173e8b Protanomaly 1% of men, 0.01% of women
  • #174180 Deuteranomaly 6% of men, 0.4% of women
  • #354367 Tritanomaly 0.01% of the population