#0c0040 Color Information

In a RGB color space, hex #0c0040 is composed of 4.7% red, 0% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 81.3% cyan, 100% magenta, 0% yellow and 74.9% black. It has a hue angle of 251.3 degrees, a saturation of 100% and a lightness of 12.5%. #0c0040 color hex could be obtained by blending #180080 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 0
    • B 25
    RGB color chart
    • C 81
    • M 100
    • Y 0
    • K 75
    CMYK color chart

#0c0040 color description : Very dark blue.

#0c0040 Color Conversion

The hexadecimal color #0c0040 has RGB values of R:12, G:0, B:64 and CMYK values of C:0.81, M:1, Y:0, K:0.75. Its decimal value is 786496.

Hex triplet 0c0040 #0c0040
RGB Decimal 12, 0, 64 rgb(12,0,64)
RGB Percent 4.7, 0, 25.1 rgb(4.7%,0%,25.1%)
CMYK 81, 100, 0, 75
HSL 251.3°, 100, 12.5 hsl(251.3,100%,12.5%)
HSV (or HSB) 251.3°, 100, 25.1
Web Safe 000033 #000033
CIE-LAB 4.049, 25.88, -36.475
XYZ 1.077, 0.448, 4.88
xyY 0.168, 0.07, 0.448
CIE-LCH 4.049, 44.723, 305.357
CIE-LUV 4.049, -0.31, -15.19
Hunter-Lab 6.695, 16.993, -38.528
Binary 00001100, 00000000, 01000000

Color Schemes with #0c0040

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

Alternatives to #0c0040

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

Similar Colors

#0c0040 Preview

Text with hexadecimal color #0c0040

This text has a font color of #0c0040.

<span style="color:#0c0040;">Text here</span>
#0c0040 background color

This paragraph has a background color of #0c0040.

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

This element has a border color of #0c0040.

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

Shades and Tints of #0c0040

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

Shade Color Variation
Tint Color Variation

Tones of #0c0040

A tone is produced by adding gray to any pure hue. In this case, #1e1e22 is the less saturated color, while #0c0040 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0040 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.

  • #0b0b0b Achromatopsia 0.005% of the population
  • #0b0916 Atypical Achromatopsia 0.001% of the population
  • #001a32 Protanopia 1% of men
  • #001b2b Deuteranopia 1% of men
  • #001d1e Tritanopia 0.001% of the population
  • #041037 Protanomaly 1% of men, 0.01% of women
  • #041133 Deuteranomaly 6% of men, 0.4% of women
  • #04122a Tritanomaly 0.01% of the population