#040797 Color Information

In a RGB color space, hex #040797 is composed of 1.6% red, 2.7% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 95.4% magenta, 0% yellow and 40.8% black. It has a hue angle of 238.8 degrees, a saturation of 94.8% and a lightness of 30.4%. #040797 color hex could be obtained by blending #080eff with #00002f. Closest websafe color is: #000099.

    • R 2
    • G 3
    • B 59
    RGB color chart
    • C 97
    • M 95
    • Y 0
    • K 41
    CMYK color chart

#040797 color description : Dark blue.

#040797 Color Conversion

The hexadecimal color #040797 has RGB values of R:4, G:7, B:151 and CMYK values of C:0.97, M:0.95, Y:0, K:0.41. Its decimal value is 264087.

Hex triplet 040797 #040797
RGB Decimal 4, 7, 151 rgb(4,7,151)
RGB Percent 1.6, 2.7, 59.2 rgb(1.6%,2.7%,59.2%)
CMYK 97, 95, 0, 41
HSL 238.8°, 94.8, 30.4 hsl(238.8,94.8%,30.4%)
HSV (or HSB) 238.8°, 97.4, 59.2
Web Safe 000099 #000099
CIE-LAB 17.514, 51.376, -71.545
XYZ 5.711, 2.412, 29.441
xyY 0.152, 0.064, 2.412
CIE-LCH 17.514, 88.081, 305.682
CIE-LUV 17.514, -5.101, -68.68
Hunter-Lab 15.53, 38.465, -101.531
Binary 00000100, 00000111, 10010111

Color Schemes with #040797

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

Alternatives to #040797

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

Similar Colors

#040797 Preview

Text with hexadecimal color #040797

This text has a font color of #040797.

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

This paragraph has a background color of #040797.

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

This element has a border color of #040797.

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

Shades and Tints of #040797

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

Shade Color Variation
Tint Color Variation

Tones of #040797

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040797 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
  • #171717 Achromatopsia 0.005% of the population
  • #131431 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003465 Protanopia 1% of men
  • #003757 Deuteranopia 1% of men
  • #003b3d Tritanopia 0.001% of the population
Trichromacy
  • #012377 Protanomaly 1% of men, 0.01% of women
  • #01256e Deuteranomaly 6% of men, 0.4% of women
  • #01285e Tritanomaly 0.01% of the population