#0c0798 Color Information

In a RGB color space, hex #0c0798 is composed of 4.7% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 92.1% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 242.1 degrees, a saturation of 91.2% and a lightness of 31.2%. #0c0798 color hex could be obtained by blending #180eff with #000031. Closest websafe color is: #000099.

    • R 5
    • G 3
    • B 60
    RGB color chart
    • C 92
    • M 95
    • Y 0
    • K 40
    CMYK color chart

#0c0798 color description : Dark blue.

#0c0798 Color Conversion

The hexadecimal color #0c0798 has RGB values of R:12, G:7, B:152 and CMYK values of C:0.92, M:0.95, Y:0, K:0.4. Its decimal value is 788376.

Hex triplet 0c0798 #0c0798
RGB Decimal 12, 7, 152 rgb(12,7,152)
RGB Percent 4.7, 2.7, 59.6 rgb(4.7%,2.7%,59.6%)
CMYK 92, 95, 0, 40
HSL 242.1°, 91.2, 31.2 hsl(242.1,91.2%,31.2%)
HSV (or HSB) 242.1°, 95.4, 59.6
Web Safe 000099 #000099
CIE-LAB 17.904, 51.77, -71.507
XYZ 5.894, 2.497, 29.875
xyY 0.154, 0.065, 2.497
CIE-LCH 17.904, 88.28, 305.904
CIE-LUV 17.904, -4.78, -69.673
Hunter-Lab 15.801, 38.932, -101.041
Binary 00001100, 00000111, 10011000

Color Schemes with #0c0798

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

Alternatives to #0c0798

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

Similar Colors

#0c0798 Preview

Text with hexadecimal color #0c0798

This text has a font color of #0c0798.

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

This paragraph has a background color of #0c0798.

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

This element has a border color of #0c0798.

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

Shades and Tints of #0c0798

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

Shade Color Variation
Tint Color Variation

Tones of #0c0798

A tone is produced by adding gray to any pure hue. In this case, #4b4a55 is the less saturated color, while #06019e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0798 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
  • #191919 Achromatopsia 0.005% of the population
  • #161532 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003567 Protanopia 1% of men
  • #003858 Deuteranopia 1% of men
  • #003c3e Tritanopia 0.001% of the population
Trichromacy
  • #042478 Protanomaly 1% of men, 0.01% of women
  • #04266f Deuteranomaly 6% of men, 0.4% of women
  • #04285f Tritanomaly 0.01% of the population