#040cb1 Color Information

In a RGB color space, hex #040cb1 is composed of 1.6% red, 4.7% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93.2% magenta, 0% yellow and 30.6% black. It has a hue angle of 237.2 degrees, a saturation of 95.6% and a lightness of 35.5%. #040cb1 color hex could be obtained by blending #0818ff with #000063. Closest websafe color is: #000099.

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

#040cb1 color description : Dark blue.

#040cb1 Color Conversion

The hexadecimal color #040cb1 has RGB values of R:4, G:12, B:177 and CMYK values of C:0.98, M:0.93, Y:0, K:0.31. Its decimal value is 265393.

Hex triplet 040cb1 #040cb1
RGB Decimal 4, 12, 177 rgb(4,12,177)
RGB Percent 1.6, 4.7, 69.4 rgb(1.6%,4.7%,69.4%)
CMYK 98, 93, 0, 31
HSL 237.2°, 95.6, 35.5 hsl(237.2,95.6%,35.5%)
HSV (or HSB) 237.2°, 97.7, 69.4
Web Safe 000099 #000099
CIE-LAB 21.808, 57.208, -80.209
XYZ 8.116, 3.462, 41.833
xyY 0.152, 0.065, 3.462
CIE-LCH 21.808, 98.52, 305.498
CIE-LUV 21.808, -6.488, -85.164
Hunter-Lab 18.608, 45.29, -120.269
Binary 00000100, 00001100, 10110001

Color Schemes with #040cb1

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

Alternatives to #040cb1

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

Similar Colors

#040cb1 Preview

Text with hexadecimal color #040cb1

This text has a font color of #040cb1.

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

This paragraph has a background color of #040cb1.

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

This element has a border color of #040cb1.

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

Shades and Tints of #040cb1

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 #040cb1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040cb1 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
  • #17193a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d76 Protanopia 1% of men
  • #004065 Deuteranopia 1% of men
  • #004547 Tritanopia 0.001% of the population
Trichromacy
  • #012b8b Protanomaly 1% of men, 0.01% of women
  • #012d81 Deuteranomaly 6% of men, 0.4% of women
  • #01306e Tritanomaly 0.01% of the population