#040c7b Color Information

In a RGB color space, hex #040c7b is composed of 1.6% red, 4.7% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 90.2% magenta, 0% yellow and 51.8% black. It has a hue angle of 236 degrees, a saturation of 93.7% and a lightness of 24.9%. #040c7b color hex could be obtained by blending #0818f6 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 48
    RGB color chart
    • C 97
    • M 90
    • Y 0
    • K 52
    CMYK color chart

#040c7b color description : Dark blue.

#040c7b Color Conversion

The hexadecimal color #040c7b has RGB values of R:4, G:12, B:123 and CMYK values of C:0.97, M:0.9, Y:0, K:0.52. Its decimal value is 265339.

Hex triplet 040c7b #040c7b
RGB Decimal 4, 12, 123 rgb(4,12,123)
RGB Percent 1.6, 4.7, 48.2 rgb(1.6%,4.7%,48.2%)
CMYK 97, 90, 0, 52
HSL 236°, 93.7, 24.9 hsl(236,93.7%,24.9%)
HSV (or HSB) 236°, 96.7, 48.2
Web Safe 000066 #000066
CIE-LAB 13.935, 41.277, -59.898
XYZ 3.756, 1.719, 18.872
xyY 0.154, 0.071, 1.719
CIE-LCH 13.935, 72.743, 304.572
CIE-LUV 13.935, -4.247, -52.317
Hunter-Lab 13.109, 28.201, -76.175
Binary 00000100, 00001100, 01111011

Color Schemes with #040c7b

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

Alternatives to #040c7b

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

Similar Colors

#040c7b Preview

Text with hexadecimal color #040c7b

This text has a font color of #040c7b.

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

This paragraph has a background color of #040c7b.

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

This element has a border color of #040c7b.

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

Shades and Tints of #040c7b

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

Shade Color Variation
Tint Color Variation

Tones of #040c7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c7b 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
  • #161616 Achromatopsia 0.005% of the population
  • #12142a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002d58 Protanopia 1% of men
  • #00304c Deuteranopia 1% of men
  • #003335 Tritanopia 0.001% of the population
Trichromacy
  • #012164 Protanomaly 1% of men, 0.01% of women
  • #01235d Deuteranomaly 6% of men, 0.4% of women
  • #01254e Tritanomaly 0.01% of the population