#040f89 Color Information

In a RGB color space, hex #040f89 is composed of 1.6% red, 5.9% green and 53.7% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 89.1% magenta, 0% yellow and 46.3% black. It has a hue angle of 235 degrees, a saturation of 94.3% and a lightness of 27.6%. #040f89 color hex could be obtained by blending #081eff with #000013. Closest websafe color is: #000099.

    • R 2
    • G 6
    • B 54
    RGB color chart
    • C 97
    • M 89
    • Y 0
    • K 46
    CMYK color chart

#040f89 color description : Dark blue.

#040f89 Color Conversion

The hexadecimal color #040f89 has RGB values of R:4, G:15, B:137 and CMYK values of C:0.97, M:0.89, Y:0, K:0.46. Its decimal value is 266121.

Hex triplet 040f89 #040f89
RGB Decimal 4, 15, 137 rgb(4,15,137)
RGB Percent 1.6, 5.9, 53.7 rgb(1.6%,5.9%,53.7%)
CMYK 97, 89, 0, 46
HSL 235°, 94.3, 27.6 hsl(235,94.3%,27.6%)
HSV (or HSB) 235°, 97.1, 53.7
Web Safe 000099 #000099
CIE-LAB 16.371, 44.45, -64.724
XYZ 4.735, 2.173, 23.835
xyY 0.154, 0.071, 2.173
CIE-LCH 16.371, 78.517, 304.48
CIE-LUV 16.371, -5.067, -61.428
Hunter-Lab 14.742, 31.539, -85.544
Binary 00000100, 00001111, 10001001

Color Schemes with #040f89

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

Alternatives to #040f89

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

Similar Colors

#040f89 Preview

Text with hexadecimal color #040f89

This text has a font color of #040f89.

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

This paragraph has a background color of #040f89.

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

This element has a border color of #040f89.

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

Shades and Tints of #040f89

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

Shade Color Variation
Tint Color Variation

Tones of #040f89

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f89 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
  • #1a1a1a Achromatopsia 0.005% of the population
  • #161830 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003261 Protanopia 1% of men
  • #003554 Deuteranopia 1% of men
  • #00383b Tritanopia 0.001% of the population
Trichromacy
  • #01256f Protanomaly 1% of men, 0.01% of women
  • #012767 Deuteranomaly 6% of men, 0.4% of women
  • #012957 Tritanomaly 0.01% of the population