#12157e Color Information

In a RGB color space, hex #12157e is composed of 7.1% red, 8.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 85.7% cyan, 83.3% magenta, 0% yellow and 50.6% black. It has a hue angle of 238.3 degrees, a saturation of 75% and a lightness of 28.2%. #12157e color hex could be obtained by blending #242afc with #000000. Closest websafe color is: #000066.

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

#12157e color description : Dark blue.

#12157e Color Conversion

The hexadecimal color #12157e has RGB values of R:18, G:21, B:126 and CMYK values of C:0.86, M:0.83, Y:0, K:0.51. Its decimal value is 1185150.

Hex triplet 12157e #12157e
RGB Decimal 18, 21, 126 rgb(18,21,126)
RGB Percent 7.1, 8.2, 49.4 rgb(7.1%,8.2%,49.4%)
CMYK 86, 83, 0, 51
HSL 238.3°, 75, 28.2 hsl(238.3,75%,28.2%)
HSV (or HSB) 238.3°, 85.7, 49.4
Web Safe 000066 #000066
CIE-LAB 16.36, 38.439, -57.765
XYZ 4.283, 2.171, 19.931
xyY 0.162, 0.082, 2.171
CIE-LCH 16.36, 69.386, 303.642
CIE-LUV 16.36, -4.376, -56.606
Hunter-Lab 14.734, 26.099, -69.887
Binary 00010010, 00010101, 01111110

Color Schemes with #12157e

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

Alternatives to #12157e

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

Similar Colors

#12157e Preview

Text with hexadecimal color #12157e

This text has a font color of #12157e.

<span style="color:#12157e;">Text here</span>
#12157e background color

This paragraph has a background color of #12157e.

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

This element has a border color of #12157e.

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

Shades and Tints of #12157e

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

Shade Color Variation
Tint Color Variation

Tones of #12157e

A tone is produced by adding gray to any pure hue. In this case, #44444c is the less saturated color, while #01058f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12157e 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
  • #1d1e33 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003261 Protanopia 1% of men
  • #003554 Deuteranopia 1% of men
  • #00383b Tritanopia 0.001% of the population
Trichromacy
  • #06276b Protanomaly 1% of men, 0.01% of women
  • #062963 Deuteranomaly 6% of men, 0.4% of women
  • #062b53 Tritanomaly 0.01% of the population