#0c2798 Color Information

In a RGB color space, hex #0c2798 is composed of 4.7% red, 15.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 92.1% cyan, 74.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 228.4 degrees, a saturation of 85.4% and a lightness of 32.2%. #0c2798 color hex could be obtained by blending #184eff with #000031. Closest websafe color is: #003399.

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

#0c2798 color description : Dark blue.

#0c2798 Color Conversion

The hexadecimal color #0c2798 has RGB values of R:12, G:39, B:152 and CMYK values of C:0.92, M:0.74, Y:0, K:0.4. Its decimal value is 796568.

Hex triplet 0c2798 #0c2798
RGB Decimal 12, 39, 152 rgb(12,39,152)
RGB Percent 4.7, 15.3, 59.6 rgb(4.7%,15.3%,59.6%)
CMYK 92, 74, 0, 40
HSL 228.4°, 85.4, 32.2 hsl(228.4,85.4%,32.2%)
HSV (or HSB) 228.4°, 92.1, 59.6
Web Safe 003399 #003399
CIE-LAB 22.984, 36.889, -63.06
XYZ 6.543, 3.796, 30.092
xyY 0.162, 0.094, 3.796
CIE-LCH 22.984, 73.058, 300.327
CIE-LUV 22.984, -8.249, -73.55
Hunter-Lab 19.483, 25.857, -77.939
Binary 00001100, 00100111, 10011000

Color Schemes with #0c2798

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

Alternatives to #0c2798

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

Similar Colors

#0c2798 Preview

Text with hexadecimal color #0c2798

This text has a font color of #0c2798.

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

This paragraph has a background color of #0c2798.

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

This element has a border color of #0c2798.

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

Shades and Tints of #0c2798

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

Shade Color Variation
Tint Color Variation

Tones of #0c2798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2798 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #262b42 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00436a Deuteranopia 1% of men
  • #00474b Tritanopia 0.001% of the population
Trichromacy
  • #043685 Protanomaly 1% of men, 0.01% of women
  • #04387b Deuteranomaly 6% of men, 0.4% of women
  • #043b67 Tritanomaly 0.01% of the population