#040ba7 Color Information

In a RGB color space, hex #040ba7 is composed of 1.6% red, 4.3% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 93.4% magenta, 0% yellow and 34.5% black. It has a hue angle of 237.4 degrees, a saturation of 95.3% and a lightness of 33.5%. #040ba7 color hex could be obtained by blending #0816ff with #00004f. Closest websafe color is: #000099.

    • R 2
    • G 4
    • B 65
    RGB color chart
    • C 98
    • M 93
    • Y 0
    • K 35
    CMYK color chart

#040ba7 color description : Dark blue.

#040ba7 Color Conversion

The hexadecimal color #040ba7 has RGB values of R:4, G:11, B:167 and CMYK values of C:0.98, M:0.93, Y:0, K:0.35. Its decimal value is 265127.

Hex triplet 040ba7 #040ba7
RGB Decimal 4, 11, 167 rgb(4,11,167)
RGB Percent 1.6, 4.3, 65.5 rgb(1.6%,4.3%,65.5%)
CMYK 98, 93, 0, 35
HSL 237.4°, 95.3, 33.5 hsl(237.4,95.3%,33.5%)
HSV (or HSB) 237.4°, 97.6, 65.5
Web Safe 000099 #000099
CIE-LAB 20.261, 54.706, -76.756
XYZ 7.143, 3.055, 36.77
xyY 0.152, 0.065, 3.055
CIE-LCH 20.261, 94.256, 305.478
CIE-LUV 20.261, -6.015, -79.008
Hunter-Lab 17.477, 42.371, -112.504
Binary 00000100, 00001011, 10100111

Color Schemes with #040ba7

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

Alternatives to #040ba7

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

Similar Colors

#040ba7 Preview

Text with hexadecimal color #040ba7

This text has a font color of #040ba7.

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

This paragraph has a background color of #040ba7.

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

This element has a border color of #040ba7.

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

Shades and Tints of #040ba7

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, #00010e is the darkest color, while #fafaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040ba7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040ba7 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
  • #161837 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d60 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
Trichromacy
  • #012884 Protanomaly 1% of men, 0.01% of women
  • #012b7a Deuteranomaly 6% of men, 0.4% of women
  • #012d68 Tritanomaly 0.01% of the population