colorhexa.com

#040f97 hex color

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

    • R 2
    • G 6
    • B 59

    RGB color chart

    • C 97
    • M 90
    • Y 0
    • K 41

    CMYK color chart

#040f97 color description : Dark blue.

The hexadecimal color #040f97 has RGB values of R:4, G:15, B:151 and CMYK values of C:0.97, M:0.9, Y:0, K:0.41. Its decimal value is 266135.

Hex triplet 040f97 #040f97
RGB Decimal 4, 15, 151 rgb(4,15,151)
RGB Percent 1.6, 5.9, 59.2 rgb(1.6%,5.9%,59.2%)
CMYK 97, 90, 0, 41
HSL 235.5°, 94.8, 30.4 hsl(235.5,94.8%,30.4%)
HSV (or HSB) 235.5°, 97.4, 59.2
Web Safe 000099 #000099
CIE-LAB 18.371, 48.763, -70.114
XYZ 5.806, 2.601, 29.473
xyY 0.153, 0.069, 2.601
CIE-LCH 18.371, 85.404, 304.818
CIE-LUV 18.371, -5.625, -69.886
Hunter-Lab 16.129, 36.027, -97.052
Binary 00000100, 00001111, 10010111

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #040f97

This text has a font color of #040f97.

<span style="color:#040f97;">Text here</span>

#040f97 background color

This paragraph has a background color of #040f97.

<p style="background-color:#040f97;">Content here</p>

#040f97 border color

This element has a border color of #040f97.

<div style="border:1px solid #040f97;">Content here</div>

CSS codes

.text {color:#040f97;}
.background {background-color:#040f97;}
.border {border:1px solid #040f97;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #040f97 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

  • #1b1b1b Achromatopsia 0.005% of the population
  • #161934 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003669 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d3f Tritanopia 0.001% of the population

Trichromacy

  • #012779 Protanomaly 1% of men, 0.01% of women
  • #012a70 Deuteranomaly 6% of men, 0.4% of women
  • #012c5f Tritanomaly 0.01% of the population