#0c157c Color Information

In a RGB color space, hex #0c157c is composed of 4.7% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 90.3% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 235.2 degrees, a saturation of 82.4% and a lightness of 26.7%. #0c157c color hex could be obtained by blending #182af8 with #000000. Closest websafe color is: #000066.

    • R 5
    • G 8
    • B 49
    RGB color chart
    • C 90
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#0c157c color description : Dark blue.

#0c157c Color Conversion

The hexadecimal color #0c157c has RGB values of R:12, G:21, B:124 and CMYK values of C:0.9, M:0.83, Y:0, K:0.51. Its decimal value is 791932.

Hex triplet 0c157c #0c157c
RGB Decimal 12, 21, 124 rgb(12,21,124)
RGB Percent 4.7, 8.2, 48.6 rgb(4.7%,8.2%,48.6%)
CMYK 90, 83, 0, 51
HSL 235.2°, 82.4, 26.7 hsl(235.2,82.4%,26.7%)
HSV (or HSB) 235.2°, 90.3, 48.6
Web Safe 000066 #000066
CIE-LAB 15.847, 37.468, -57.347
XYZ 4.057, 2.069, 19.253
xyY 0.16, 0.082, 2.069
CIE-LCH 15.847, 68.502, 303.159
CIE-LUV 15.847, -4.753, -55.164
Hunter-Lab 14.386, 25.168, -69.283
Binary 00001100, 00010101, 01111100

Color Schemes with #0c157c

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

Alternatives to #0c157c

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

Similar Colors

#0c157c Preview

Text with hexadecimal color #0c157c

This text has a font color of #0c157c.

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

This paragraph has a background color of #0c157c.

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

This element has a border color of #0c157c.

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

Shades and Tints of #0c157c

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

Shade Color Variation
Tint Color Variation

Tones of #0c157c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c157c 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #1a1c31 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00315f Protanopia 1% of men
  • #003452 Deuteranopia 1% of men
  • #00373a Tritanopia 0.001% of the population
Trichromacy
  • #042669 Protanomaly 1% of men, 0.01% of women
  • #042861 Deuteranomaly 6% of men, 0.4% of women
  • #042b52 Tritanomaly 0.01% of the population