#0c0fa2 Color Information

In a RGB color space, hex #0c0fa2 is composed of 4.7% red, 5.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 92.6% cyan, 90.7% magenta, 0% yellow and 36.5% black. It has a hue angle of 238.8 degrees, a saturation of 86.2% and a lightness of 34.1%. #0c0fa2 color hex could be obtained by blending #181eff with #000045. Closest websafe color is: #000099.

    • R 5
    • G 6
    • B 64
    RGB color chart
    • C 93
    • M 91
    • Y 0
    • K 36
    CMYK color chart

#0c0fa2 color description : Dark blue.

#0c0fa2 Color Conversion

The hexadecimal color #0c0fa2 has RGB values of R:12, G:15, B:162 and CMYK values of C:0.93, M:0.91, Y:0, K:0.36. Its decimal value is 790434.

Hex triplet 0c0fa2 #0c0fa2
RGB Decimal 12, 15, 162 rgb(12,15,162)
RGB Percent 4.7, 5.9, 63.5 rgb(4.7%,5.9%,63.5%)
CMYK 93, 91, 0, 36
HSL 238.8°, 86.2, 34.1 hsl(238.8,86.2%,34.1%)
HSV (or HSB) 238.8°, 92.6, 63.5
Web Safe 000099 #000099
CIE-LAB 20.155, 52.16, -73.885
XYZ 6.843, 3.028, 34.404
xyY 0.155, 0.068, 3.028
CIE-LCH 20.155, 90.441, 305.22
CIE-LUV 20.155, -5.71, -76.787
Hunter-Lab 17.401, 39.742, -105.044
Binary 00001100, 00001111, 10100010

Color Schemes with #0c0fa2

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

Alternatives to #0c0fa2

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

Similar Colors

#0c0fa2 Preview

Text with hexadecimal color #0c0fa2

This text has a font color of #0c0fa2.

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

This paragraph has a background color of #0c0fa2.

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

This element has a border color of #0c0fa2.

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

Shades and Tints of #0c0fa2

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

Shade Color Variation
Tint Color Variation

Tones of #0c0fa2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0fa2 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
  • #1f1f1f Achromatopsia 0.005% of the population
  • #1b1c39 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003d60 Deuteranopia 1% of men
  • #004143 Tritanopia 0.001% of the population
Trichromacy
  • #042a82 Protanomaly 1% of men, 0.01% of women
  • #042c78 Deuteranomaly 6% of men, 0.4% of women
  • #042f66 Tritanomaly 0.01% of the population