colorhexa.com

#0c0fa9 hex color

In a RGB color space, hex #0c0fa9 is composed of 4.7% red, 5.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 92.9% cyan, 91.1% magenta, 0% yellow and 33.7% black. It has a hue angle of 238.9 degrees, a saturation of 86.7% and a lightness of 35.5%. #0c0fa9 color hex could be obtained by blending #181eff with #000053. Closest websafe color is: #000099.

    • R 5
    • G 6
    • B 66

    RGB color chart

    • C 93
    • M 91
    • Y 0
    • K 34

    CMYK color chart

#0c0fa9 color description : Dark blue.

The hexadecimal color #0c0fa9 has RGB values of R:12, G:15, B:169 and CMYK values of C:0.93, M:0.91, Y:0, K:0.34. Its decimal value is 790441.

Hex triplet 0c0fa9 #0c0fa9
RGB Decimal 12, 15, 169 rgb(12,15,169)
RGB Percent 4.7, 5.9, 66.3 rgb(4.7%,5.9%,66.3%)
CMYK 93, 91, 0, 34
HSL 238.9°, 86.7, 35.5 hsl(238.9,86.7%,35.5%)
HSV (or HSB) 238.9°, 92.9, 66.3
Web Safe 000099 #000099
CIE-LAB 21.146, 54.178, -76.485
XYZ 7.482, 3.284, 37.773
xyY 0.154, 0.068, 3.284
CIE-LCH 21.146, 93.729, 305.311
CIE-LUV 21.146, -6.005, -80.973
Hunter-Lab 18.121, 41.992, -110.904
Binary 00001100, 00001111, 10101001

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

This text has a font color of #0c0fa9.

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

#0c0fa9 background color

This paragraph has a background color of #0c0fa9.

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

#0c0fa9 border color

This element has a border color of #0c0fa9.

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

CSS codes

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

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 #f1f1fe is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #59595c is the less saturated color, while #0508b0 is the most saturated one.

Tone Color Variation

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

  • #202020 Achromatopsia 0.005% of the population
  • #1c1d3b Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003b73 Protanopia 1% of men
  • #003f63 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population

Trichromacy

  • #042b87 Protanomaly 1% of men, 0.01% of women
  • #042d7c Deuteranomaly 6% of men, 0.4% of women
  • #04306a Tritanomaly 0.01% of the population