#1f157c Color Information

In a RGB color space, hex #1f157c is composed of 12.2% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 75% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 245.8 degrees, a saturation of 71% and a lightness of 28.4%. #1f157c color hex could be obtained by blending #3e2af8 with #000000. Closest websafe color is: #330066.

    • R 12
    • G 8
    • B 49
    RGB color chart
    • C 75
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#1f157c color description : Dark blue.

#1f157c Color Conversion

The hexadecimal color #1f157c has RGB values of R:31, G:21, B:124 and CMYK values of C:0.75, M:0.83, Y:0, K:0.51. Its decimal value is 2037116.

Hex triplet 1f157c #1f157c
RGB Decimal 31, 21, 124 rgb(31,21,124)
RGB Percent 12.2, 8.2, 48.6 rgb(12.2%,8.2%,48.6%)
CMYK 75, 83, 0, 51
HSL 245.8°, 71, 28.4 hsl(245.8,71%,28.4%)
HSV (or HSB) 245.8°, 83.1, 48.6
Web Safe 330066 #330066
CIE-LAB 16.906, 38.653, -55.56
XYZ 4.471, 2.283, 19.273
xyY 0.172, 0.088, 2.283
CIE-LCH 16.906, 67.683, 304.826
CIE-LUV 16.906, -2.765, -56.154
Hunter-Lab 15.108, 26.379, -65.056
Binary 00011111, 00010101, 01111100

Color Schemes with #1f157c

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

Alternatives to #1f157c

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

Similar Colors

#1f157c Preview

Text with hexadecimal color #1f157c

This text has a font color of #1f157c.

<span style="color:#1f157c;">Text here</span>
#1f157c background color

This paragraph has a background color of #1f157c.

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

This element has a border color of #1f157c.

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

Shades and Tints of #1f157c

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

Shade Color Variation
Tint Color Variation

Tones of #1f157c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f157c 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
  • #242424 Achromatopsia 0.005% of the population
  • #232136 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003363 Protanopia 1% of men
  • #003656 Deuteranopia 1% of men
  • #003a3d Tritanopia 0.001% of the population
Trichromacy
  • #0b286c Protanomaly 1% of men, 0.01% of women
  • #0b2a63 Deuteranomaly 6% of men, 0.4% of women
  • #0b2c53 Tritanomaly 0.01% of the population