#040340 Color Information

In a RGB color space, hex #040340 is composed of 1.6% red, 1.2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 95.3% magenta, 0% yellow and 74.9% black. It has a hue angle of 241 degrees, a saturation of 91% and a lightness of 13.1%. #040340 color hex could be obtained by blending #080680 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 1
    • B 25
    RGB color chart
    • C 94
    • M 95
    • Y 0
    • K 75
    CMYK color chart

#040340 color description : Very dark blue.

#040340 Color Conversion

The hexadecimal color #040340 has RGB values of R:4, G:3, B:64 and CMYK values of C:0.94, M:0.95, Y:0, K:0.75. Its decimal value is 262976.

Hex triplet 040340 #040340
RGB Decimal 4, 3, 64 rgb(4,3,64)
RGB Percent 1.6, 1.2, 25.1 rgb(1.6%,1.2%,25.1%)
CMYK 94, 95, 0, 75
HSL 241°, 91, 13.1 hsl(241,91%,13.1%)
HSV (or HSB) 241°, 95.3, 25.1
Web Safe 000033 #000033
CIE-LAB 4.164, 22.932, -36.305
XYZ 1.008, 0.461, 4.886
xyY 0.159, 0.073, 0.461
CIE-LCH 4.164, 42.941, 302.278
CIE-LUV 4.164, -1.045, -15.407
Hunter-Lab 6.79, 14.613, -37.913
Binary 00000100, 00000011, 01000000

Color Schemes with #040340

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

Alternatives to #040340

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

Similar Colors

#040340 Preview

Text with hexadecimal color #040340

This text has a font color of #040340.

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

This paragraph has a background color of #040340.

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

This element has a border color of #040340.

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

Shades and Tints of #040340

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

Shade Color Variation
Tint Color Variation

Tones of #040340

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040340 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
  • #0a0a0a Achromatopsia 0.005% of the population
  • #090915 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001a33 Protanopia 1% of men
  • #001b2c Deuteranopia 1% of men
  • #001d1f Tritanopia 0.001% of the population
Trichromacy
  • #011137 Protanomaly 1% of men, 0.01% of women
  • #011233 Deuteranomaly 6% of men, 0.4% of women
  • #01142b Tritanomaly 0.01% of the population