#12157a Color Information

In a RGB color space, hex #12157a is composed of 7.1% red, 8.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 85.2% cyan, 82.8% magenta, 0% yellow and 52.2% black. It has a hue angle of 238.3 degrees, a saturation of 74.3% and a lightness of 27.5%. #12157a color hex could be obtained by blending #242af4 with #000000. Closest websafe color is: #000066.

    • R 7
    • G 8
    • B 48
    RGB color chart
    • C 85
    • M 83
    • Y 0
    • K 52
    CMYK color chart

#12157a color description : Dark blue.

#12157a Color Conversion

The hexadecimal color #12157a has RGB values of R:18, G:21, B:122 and CMYK values of C:0.85, M:0.83, Y:0, K:0.52. Its decimal value is 1185146.

Hex triplet 12157a #12157a
RGB Decimal 18, 21, 122 rgb(18,21,122)
RGB Percent 7.1, 8.2, 47.8 rgb(7.1%,8.2%,47.8%)
CMYK 85, 83, 0, 52
HSL 238.3°, 74.3, 27.5 hsl(238.3,74.3%,27.5%)
HSV (or HSB) 238.3°, 85.2, 47.8
Web Safe 000066 #000066
CIE-LAB 15.849, 37.067, -56.056
XYZ 4.03, 2.07, 18.598
xyY 0.163, 0.084, 2.07
CIE-LCH 15.849, 67.203, 303.474
CIE-LUV 15.849, -4.215, -54.26
Hunter-Lab 14.387, 24.821, -66.576
Binary 00010010, 00010101, 01111010

Color Schemes with #12157a

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

Alternatives to #12157a

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

Similar Colors

#12157a Preview

Text with hexadecimal color #12157a

This text has a font color of #12157a.

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

This paragraph has a background color of #12157a.

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

This element has a border color of #12157a.

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

Shades and Tints of #12157a

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

Shade Color Variation
Tint Color Variation

Tones of #12157a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12157a 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
  • #1d1e32 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
  • #062669 Protanomaly 1% of men, 0.01% of women
  • #062860 Deuteranomaly 6% of men, 0.4% of women
  • #062b51 Tritanomaly 0.01% of the population