#040cb5 Color Information

In a RGB color space, hex #040cb5 is composed of 1.6% red, 4.7% green and 71% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 93.4% magenta, 0% yellow and 29% black. It has a hue angle of 237.3 degrees, a saturation of 95.7% and a lightness of 36.3%. #040cb5 color hex could be obtained by blending #0818ff with #00006b. Closest websafe color is: #0000cc.

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

#040cb5 color description : Strong blue.

#040cb5 Color Conversion

The hexadecimal color #040cb5 has RGB values of R:4, G:12, B:181 and CMYK values of C:0.98, M:0.93, Y:0, K:0.29. Its decimal value is 265397.

Hex triplet 040cb5 #040cb5
RGB Decimal 4, 12, 181 rgb(4,12,181)
RGB Percent 1.6, 4.7, 71 rgb(1.6%,4.7%,71%)
CMYK 98, 93, 0, 29
HSL 237.3°, 95.7, 36.3 hsl(237.3,95.7%,36.3%)
HSV (or HSB) 237.3°, 97.8, 71
Web Safe 0000cc #0000cc
CIE-LAB 22.388, 58.307, -81.636
XYZ 8.52, 3.624, 43.964
xyY 0.152, 0.065, 3.624
CIE-LCH 22.388, 100.321, 305.536
CIE-LUV 22.388, -6.654, -87.567
Hunter-Lab 19.038, 46.573, -123.594
Binary 00000100, 00001100, 10110101

Color Schemes with #040cb5

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

Alternatives to #040cb5

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

Similar Colors

#040cb5 Preview

Text with hexadecimal color #040cb5

This text has a font color of #040cb5.

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

This paragraph has a background color of #040cb5.

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

This element has a border color of #040cb5.

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

Shades and Tints of #040cb5

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

Shade Color Variation
Tint Color Variation

Tones of #040cb5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cb5 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #181a3b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #004167 Deuteranopia 1% of men
  • #004649 Tritanopia 0.001% of the population
Trichromacy
  • #012b8e Protanomaly 1% of men, 0.01% of women
  • #012e83 Deuteranomaly 6% of men, 0.4% of women
  • #013170 Tritanomaly 0.01% of the population