#040cab Color Information

In a RGB color space, hex #040cab is composed of 1.6% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 237.1 degrees, a saturation of 95.4% and a lightness of 34.3%. #040cab color hex could be obtained by blending #0818ff with #000057. Closest websafe color is: #000099.

    • R 2
    • G 5
    • B 67
    RGB color chart
    • C 98
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#040cab color description : Dark blue.

#040cab Color Conversion

The hexadecimal color #040cab has RGB values of R:4, G:12, B:171 and CMYK values of C:0.98, M:0.93, Y:0, K:0.33. Its decimal value is 265387.

Hex triplet 040cab #040cab
RGB Decimal 4, 12, 171 rgb(4,12,171)
RGB Percent 1.6, 4.7, 67.1 rgb(1.6%,4.7%,67.1%)
CMYK 98, 93, 0, 33
HSL 237.1°, 95.4, 34.3 hsl(237.1,95.4%,34.3%)
HSV (or HSB) 237.1°, 97.7, 67.1
Web Safe 000099 #000099
CIE-LAB 20.936, 55.543, -78.051
XYZ 7.531, 3.228, 38.752
xyY 0.152, 0.065, 3.228
CIE-LCH 20.936, 95.796, 305.437
CIE-LUV 20.936, -6.239, -81.548
Hunter-Lab 17.968, 43.37, -115.296
Binary 00000100, 00001100, 10101011

Color Schemes with #040cab

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

Alternatives to #040cab

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

Similar Colors

#040cab Preview

Text with hexadecimal color #040cab

This text has a font color of #040cab.

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

This paragraph has a background color of #040cab.

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

This element has a border color of #040cab.

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

Shades and Tints of #040cab

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

Shade Color Variation
Tint Color Variation

Tones of #040cab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cab 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171939 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b72 Protanopia 1% of men
  • #003e62 Deuteranopia 1% of men
  • #004345 Tritanopia 0.001% of the population
Trichromacy
  • #012a87 Protanomaly 1% of men, 0.01% of women
  • #012c7d Deuteranomaly 6% of men, 0.4% of women
  • #012f6a Tritanomaly 0.01% of the population