#0c157f Color Information

In a RGB color space, hex #0c157f is composed of 4.7% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 90.6% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 235.3 degrees, a saturation of 82.7% and a lightness of 27.3%. #0c157f color hex could be obtained by blending #182afe with #000000. Closest websafe color is: #000066.

    • R 5
    • G 8
    • B 50
    RGB color chart
    • C 91
    • M 83
    • Y 0
    • K 50
    CMYK color chart

#0c157f color description : Dark blue.

#0c157f Color Conversion

The hexadecimal color #0c157f has RGB values of R:12, G:21, B:127 and CMYK values of C:0.91, M:0.83, Y:0, K:0.5. Its decimal value is 791935.

Hex triplet 0c157f #0c157f
RGB Decimal 12, 21, 127 rgb(12,21,127)
RGB Percent 4.7, 8.2, 49.8 rgb(4.7%,8.2%,49.8%)
CMYK 91, 83, 0, 50
HSL 235.3°, 82.7, 27.3 hsl(235.3,82.7%,27.3%)
HSV (or HSB) 235.3°, 90.6, 49.8
Web Safe 000066 #000066
CIE-LAB 16.238, 38.508, -58.612
XYZ 4.25, 2.146, 20.268
xyY 0.159, 0.081, 2.146
CIE-LCH 16.238, 70.13, 303.305
CIE-LUV 16.238, -4.864, -56.93
Hunter-Lab 14.651, 26.138, -71.765
Binary 00001100, 00010101, 01111111

Color Schemes with #0c157f

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

Alternatives to #0c157f

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

Similar Colors

#0c157f Preview

Text with hexadecimal color #0c157f

This text has a font color of #0c157f.

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

This paragraph has a background color of #0c157f.

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

This element has a border color of #0c157f.

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

Shades and Tints of #0c157f

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 #eff0fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c157f

A tone is produced by adding gray to any pure hue. In this case, #41424a is the less saturated color, while #010c8a is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c157f 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
  • #003261 Protanopia 1% of men
  • #003453 Deuteranopia 1% of men
  • #00383b Tritanopia 0.001% of the population
Trichromacy
  • #04276b Protanomaly 1% of men, 0.01% of women
  • #042963 Deuteranomaly 6% of men, 0.4% of women
  • #042b53 Tritanomaly 0.01% of the population