colorhexa.com

#040c9b hex color

In a RGB color space, hex #040c9b is composed of 1.6% red, 4.7% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 92.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 236.8 degrees, a saturation of 95% and a lightness of 31.2%. #040c9b color hex could be obtained by blending #0818ff with #000037. Closest websafe color is: #000099.

    • R 2
    • G 5
    • B 61

    RGB color chart

    • C 97
    • M 92
    • Y 0
    • K 39

    CMYK color chart

#040c9b color description : Dark blue.

The hexadecimal color #040c9b has RGB values of R:4, G:12, B:155 and CMYK values of C:0.97, M:0.92, Y:0, K:0.39. Its decimal value is 265371.

Hex triplet 040c9b #040c9b
RGB Decimal 4, 12, 155 rgb(4,12,155)
RGB Percent 1.6, 4.7, 60.8 rgb(1.6%,4.7%,60.8%)
CMYK 97, 92, 0, 39
HSL 236.8°, 95, 31.2 hsl(236.8,95%,31.2%)
HSV (or HSB) 236.8°, 97.4, 60.8
Web Safe 000099 #000099
CIE-LAB 18.605, 50.992, -72.19
XYZ 6.097, 2.655, 31.2
xyY 0.153, 0.066, 2.655
CIE-LCH 18.605, 88.383, 305.235
CIE-LUV 18.605, -5.574, -71.852
Hunter-Lab 16.294, 38.277, -102.125
Binary 00000100, 00001100, 10011011

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #040c9b

This text has a font color of #040c9b.

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

#040c9b background color

This paragraph has a background color of #040c9b.

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

#040c9b border color

This element has a border color of #040c9b.

<div style="border:1px solid #040c9b;">Content here</div>

CSS codes

.text {color:#040c9b;}
.background {background-color:#040c9b;}
.border {border:1px solid #040c9b;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #040c9b 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
  • #161734 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003669 Protanopia 1% of men
  • #00395b Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population

Trichromacy

  • #01277b Protanomaly 1% of men, 0.01% of women
  • #012972 Deuteranomaly 6% of men, 0.4% of women
  • #012b61 Tritanomaly 0.01% of the population