colorhexa.com

#0c0c2a hex color

In a RGB color space, hex #0c0c2a is composed of 4.7% red, 4.7% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 71.4% cyan, 71.4% magenta, 0% yellow and 83.5% black. It has a hue angle of 240 degrees, a saturation of 55.6% and a lightness of 10.6%. #0c0c2a color hex could be obtained by blending #181854 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 5
    • B 16

    RGB color chart

    • C 71
    • M 71
    • Y 0
    • K 84

    CMYK color chart

#0c0c2a color description : Very dark (mostly black) blue.

The hexadecimal color #0c0c2a has RGB values of R:12, G:12, B:42 and CMYK values of C:0.71, M:0.71, Y:0, K:0.84. Its decimal value is 789546.

Hex triplet 0c0c2a #0c0c2a
RGB Decimal 12, 12, 42 rgb(12,12,42)
RGB Percent 4.7, 4.7, 16.5 rgb(4.7%,4.7%,16.5%)
CMYK 71, 71, 0, 84
HSL 240°, 55.6, 10.6 hsl(240,55.6%,10.6%)
HSV (or HSB) 240°, 71.4, 16.5
Web Safe 000033 #000033
CIE-LAB 4.591, 8.924, -19.394
XYZ 0.701, 0.508, 2.252
xyY 0.203, 0.147, 0.508
CIE-LCH 4.591, 21.349, 294.71
CIE-LUV 4.591, -0.711, -9.847
Hunter-Lab 7.129, 5.074, -13.735
Binary 00001100, 00001100, 00101010

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

Below, you can see some colors close to #0c0c2a. 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 #0c0c2a

This text has a font color of #0c0c2a.

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

#0c0c2a background color

This paragraph has a background color of #0c0c2a.

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

#0c0c2a border color

This element has a border color of #0c0c2a.

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

CSS codes

.text {color:#0c0c2a;}
.background {background-color:#0c0c2a;}
.border {border:1px solid #0c0c2a;}

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, #03030b is the darkest color, while #fbfbfe is the lightest one.

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

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

  • #0f0f0f Achromatopsia 0.005% of the population
  • #0e0e14 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #001b35 Protanopia 1% of men
  • #001c2f Deuteranopia 1% of men
  • #0d1e20 Tritanopia 0.001% of the population

Trichromacy

  • #041531 Protanomaly 1% of men, 0.01% of women
  • #04162d Deuteranomaly 6% of men, 0.4% of women
  • #0d1724 Tritanomaly 0.01% of the population