#12158c Color Information

In a RGB color space, hex #12158c is composed of 7.1% red, 8.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 87.1% cyan, 85% magenta, 0% yellow and 45.1% black. It has a hue angle of 238.5 degrees, a saturation of 77.2% and a lightness of 31%. #12158c color hex could be obtained by blending #242aff with #000019. Closest websafe color is: #000099.

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

#12158c color description : Dark blue.

#12158c Color Conversion

The hexadecimal color #12158c has RGB values of R:18, G:21, B:140 and CMYK values of C:0.87, M:0.85, Y:0, K:0.45. Its decimal value is 1185164.

Hex triplet 12158c #12158c
RGB Decimal 18, 21, 140 rgb(18,21,140)
RGB Percent 7.1, 8.2, 54.9 rgb(7.1%,8.2%,54.9%)
CMYK 87, 85, 0, 45
HSL 238.5°, 77.2, 31 hsl(238.5,77.2%,31%)
HSV (or HSB) 238.5°, 87.1, 54.9
Web Safe 000099 #000099
CIE-LAB 18.179, 43.1, -63.582
XYZ 5.25, 2.558, 25.027
xyY 0.16, 0.078, 2.558
CIE-LCH 18.179, 76.813, 304.132
CIE-LUV 18.179, -4.942, -64.844
Hunter-Lab 15.994, 30.607, -81.58
Binary 00010010, 00010101, 10001100

Color Schemes with #12158c

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

Alternatives to #12158c

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

Similar Colors

#12158c Preview

Text with hexadecimal color #12158c

This text has a font color of #12158c.

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

This paragraph has a background color of #12158c.

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

This element has a border color of #12158c.

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

Shades and Tints of #12158c

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

Shade Color Variation
Tint Color Variation

Tones of #12158c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12158c 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
  • #1f1f37 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003c3f Tritanopia 0.001% of the population
Trichromacy
  • #062975 Protanomaly 1% of men, 0.01% of women
  • #062b6c Deuteranomaly 6% of men, 0.4% of women
  • #062e5b Tritanomaly 0.01% of the population