#0c0faf Color Information

In a RGB color space, hex #0c0faf is composed of 4.7% red, 5.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 93.1% cyan, 91.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 238.9 degrees, a saturation of 87.2% and a lightness of 36.7%. #0c0faf color hex could be obtained by blending #181eff with #00005f. Closest websafe color is: #000099.

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

#0c0faf color description : Dark blue.

#0c0faf Color Conversion

The hexadecimal color #0c0faf has RGB values of R:12, G:15, B:175 and CMYK values of C:0.93, M:0.91, Y:0, K:0.31. Its decimal value is 790447.

Hex triplet 0c0faf #0c0faf
RGB Decimal 12, 15, 175 rgb(12,15,175)
RGB Percent 4.7, 5.9, 68.6 rgb(4.7%,5.9%,68.6%)
CMYK 93, 91, 0, 31
HSL 238.9°, 87.2, 36.7 hsl(238.9,87.2%,36.7%)
HSV (or HSB) 238.9°, 93.1, 68.6
Web Safe 000099 #000099
CIE-LAB 21.996, 55.881, -78.688
XYZ 8.059, 3.514, 40.809
xyY 0.154, 0.067, 3.514
CIE-LCH 21.996, 96.512, 305.381
CIE-LUV 21.996, -6.258, -84.552
Hunter-Lab 18.747, 43.927, -115.943
Binary 00001100, 00001111, 10101111

Color Schemes with #0c0faf

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

Alternatives to #0c0faf

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

Similar Colors

#0c0faf Preview

Text with hexadecimal color #0c0faf

This text has a font color of #0c0faf.

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

This paragraph has a background color of #0c0faf.

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

This element has a border color of #0c0faf.

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

Shades and Tints of #0c0faf

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, #01010a is the darkest color, while #f6f7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0faf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0faf 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
  • #1c1d3d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004166 Deuteranopia 1% of men
  • #004548 Tritanopia 0.001% of the population
Trichromacy
  • #042c8b Protanomaly 1% of men, 0.01% of women
  • #042e80 Deuteranomaly 6% of men, 0.4% of women
  • #04316d Tritanomaly 0.01% of the population