#12158e Color Information

In a RGB color space, hex #12158e is composed of 7.1% red, 8.2% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 87.3% cyan, 85.2% magenta, 0% yellow and 44.3% black. It has a hue angle of 238.5 degrees, a saturation of 77.5% and a lightness of 31.4%. #12158e color hex could be obtained by blending #242aff with #00001d. Closest websafe color is: #000099.

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

#12158e color description : Dark blue.

#12158e Color Conversion

The hexadecimal color #12158e has RGB values of R:18, G:21, B:142 and CMYK values of C:0.87, M:0.85, Y:0, K:0.44. Its decimal value is 1185166.

Hex triplet 12158e #12158e
RGB Decimal 18, 21, 142 rgb(18,21,142)
RGB Percent 7.1, 8.2, 55.7 rgb(7.1%,8.2%,55.7%)
CMYK 87, 85, 0, 44
HSL 238.5°, 77.5, 31.4 hsl(238.5,77.5%,31.4%)
HSV (or HSB) 238.5°, 87.3, 55.7
Web Safe 000099 #000099
CIE-LAB 18.442, 43.748, -64.395
XYZ 5.399, 2.618, 25.81
xyY 0.16, 0.077, 2.618
CIE-LCH 18.442, 77.85, 304.191
CIE-LUV 18.442, -5.024, -66.023
Hunter-Lab 16.179, 31.255, -83.261
Binary 00010010, 00010101, 10001110

Color Schemes with #12158e

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

Alternatives to #12158e

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

Similar Colors

#12158e Preview

Text with hexadecimal color #12158e

This text has a font color of #12158e.

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

This paragraph has a background color of #12158e.

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

This element has a border color of #12158e.

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

Shades and Tints of #12158e

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

Shade Color Variation
Tint Color Variation

Tones of #12158e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12158e 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
  • #222222 Achromatopsia 0.005% of the population
  • #1f1f38 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population
Trichromacy
  • #062a76 Protanomaly 1% of men, 0.01% of women
  • #062c6d Deuteranomaly 6% of men, 0.4% of women
  • #062e5c Tritanomaly 0.01% of the population