#12158f Color Information

In a RGB color space, hex #12158f is composed of 7.1% red, 8.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 87.4% cyan, 85.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 238.6 degrees, a saturation of 77.6% and a lightness of 31.6%. #12158f color hex could be obtained by blending #242aff with #00001f. 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

#12158f color description : Dark blue.

#12158f Color Conversion

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

Hex triplet 12158f #12158f
RGB Decimal 18, 21, 143 rgb(18,21,143)
RGB Percent 7.1, 8.2, 56.1 rgb(7.1%,8.2%,56.1%)
CMYK 87, 85, 0, 44
HSL 238.6°, 77.6, 31.6 hsl(238.6,77.6%,31.6%)
HSV (or HSB) 238.6°, 87.4, 56.1
Web Safe 000099 #000099
CIE-LAB 18.574, 44.071, -64.799
XYZ 5.475, 2.648, 26.208
xyY 0.159, 0.077, 2.648
CIE-LCH 18.574, 78.366, 304.22
CIE-LUV 18.574, -5.065, -66.613
Hunter-Lab 16.272, 31.58, -84.103
Binary 00010010, 00010101, 10001111

Color Schemes with #12158f

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

Alternatives to #12158f

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

Similar Colors

#12158f Preview

Text with hexadecimal color #12158f

This text has a font color of #12158f.

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

This paragraph has a background color of #12158f.

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

This element has a border color of #12158f.

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

Shades and Tints of #12158f

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

Shade Color Variation
Tint Color Variation

Tones of #12158f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #12158f 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
  • #00395b Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population
Trichromacy
  • #062a77 Protanomaly 1% of men, 0.01% of women
  • #062c6e Deuteranomaly 6% of men, 0.4% of women
  • #062e5c Tritanomaly 0.01% of the population