#0c158e Color Information

In a RGB color space, hex #0c158e is composed of 4.7% red, 8.2% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 91.5% cyan, 85.2% magenta, 0% yellow and 44.3% black. It has a hue angle of 235.8 degrees, a saturation of 84.4% and a lightness of 30.2%. #0c158e color hex could be obtained by blending #182aff with #00001d. Closest websafe color is: #000099.

    • R 5
    • G 8
    • B 56
    RGB color chart
    • C 92
    • M 85
    • Y 0
    • K 44
    CMYK color chart

#0c158e color description : Dark blue.

#0c158e Color Conversion

The hexadecimal color #0c158e has RGB values of R:12, G:21, B:142 and CMYK values of C:0.92, M:0.85, Y:0, K:0.44. Its decimal value is 791950.

Hex triplet 0c158e #0c158e
RGB Decimal 12, 21, 142 rgb(12,21,142)
RGB Percent 4.7, 8.2, 55.7 rgb(4.7%,8.2%,55.7%)
CMYK 92, 85, 0, 44
HSL 235.8°, 84.4, 30.2 hsl(235.8,84.4%,30.2%)
HSV (or HSB) 235.8°, 91.5, 55.7
Web Safe 000099 #000099
CIE-LAB 18.219, 43.54, -64.771
XYZ 5.301, 2.567, 25.806
xyY 0.157, 0.076, 2.567
CIE-LCH 18.219, 78.045, 303.909
CIE-LUV 18.219, -5.428, -65.786
Hunter-Lab 16.022, 31.022, -84.279
Binary 00001100, 00010101, 10001110

Color Schemes with #0c158e

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

Alternatives to #0c158e

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

Similar Colors

#0c158e Preview

Text with hexadecimal color #0c158e

This text has a font color of #0c158e.

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

This paragraph has a background color of #0c158e.

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

This element has a border color of #0c158e.

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

Shades and Tints of #0c158e

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, #01020f is the darkest color, while #fcfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c158e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c158e 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
  • #1c1e36 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d3f Tritanopia 0.001% of the population
Trichromacy
  • #042976 Protanomaly 1% of men, 0.01% of women
  • #042b6d Deuteranomaly 6% of men, 0.4% of women
  • #042e5c Tritanomaly 0.01% of the population