#12158a Color Information

In a RGB color space, hex #12158a is composed of 7.1% red, 8.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 87% cyan, 84.8% magenta, 0% yellow and 45.9% black. It has a hue angle of 238.5 degrees, a saturation of 76.9% and a lightness of 30.6%. #12158a color hex could be obtained by blending #242aff with #000015. Closest websafe color is: #000099.

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

#12158a color description : Dark blue.

#12158a Color Conversion

The hexadecimal color #12158a has RGB values of R:18, G:21, B:138 and CMYK values of C:0.87, M:0.85, Y:0, K:0.46. Its decimal value is 1185162.

Hex triplet 12158a #12158a
RGB Decimal 18, 21, 138 rgb(18,21,138)
RGB Percent 7.1, 8.2, 54.1 rgb(7.1%,8.2%,54.1%)
CMYK 87, 85, 0, 46
HSL 238.5°, 76.9, 30.6 hsl(238.5,76.9%,30.6%)
HSV (or HSB) 238.5°, 87, 54.1
Web Safe 000099 #000099
CIE-LAB 17.917, 42.447, -62.766
XYZ 5.104, 2.5, 24.257
xyY 0.16, 0.078, 2.5
CIE-LCH 17.917, 75.771, 304.07
CIE-LUV 17.917, -4.861, -63.666
Hunter-Lab 15.81, 29.96, -79.9
Binary 00010010, 00010101, 10001010

Color Schemes with #12158a

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

Alternatives to #12158a

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

Similar Colors

#12158a Preview

Text with hexadecimal color #12158a

This text has a font color of #12158a.

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

This paragraph has a background color of #12158a.

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

This element has a border color of #12158a.

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

Shades and Tints of #12158a

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

Shade Color Variation
Tint Color Variation

Tones of #12158a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12158a 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
  • #212121 Achromatopsia 0.005% of the population
  • #1e1f36 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003567 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #003c3e Tritanopia 0.001% of the population
Trichromacy
  • #062973 Protanomaly 1% of men, 0.01% of women
  • #062b6a Deuteranomaly 6% of men, 0.4% of women
  • #062e5a Tritanomaly 0.01% of the population