#1f0c9c Color Information

In a RGB color space, hex #1f0c9c is composed of 12.2% red, 4.7% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 80.1% cyan, 92.3% magenta, 0% yellow and 38.8% black. It has a hue angle of 247.9 degrees, a saturation of 85.7% and a lightness of 32.9%. #1f0c9c color hex could be obtained by blending #3e18ff with #000039. Closest websafe color is: #330099.

    • R 12
    • G 5
    • B 61
    RGB color chart
    • C 80
    • M 92
    • Y 0
    • K 39
    CMYK color chart

#1f0c9c color description : Dark blue.

#1f0c9c Color Conversion

The hexadecimal color #1f0c9c has RGB values of R:31, G:12, B:156 and CMYK values of C:0.8, M:0.92, Y:0, K:0.39. Its decimal value is 2034844.

Hex triplet 1f0c9c #1f0c9c
RGB Decimal 31, 12, 156 rgb(31,12,156)
RGB Percent 12.2, 4.7, 61.2 rgb(12.2%,4.7%,61.2%)
CMYK 80, 92, 0, 39
HSL 247.9°, 85.7, 32.9 hsl(247.9,85.7%,32.9%)
HSV (or HSB) 247.9°, 92.3, 61.2
Web Safe 330099 #330099
CIE-LAB 19.859, 51.94, -70.684
XYZ 6.696, 2.954, 31.668
xyY 0.162, 0.071, 2.954
CIE-LCH 19.859, 87.715, 306.309
CIE-LUV 19.859, -3.718, -73.901
Hunter-Lab 17.188, 39.464, -97.21
Binary 00011111, 00001100, 10011100

Color Schemes with #1f0c9c

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

Alternatives to #1f0c9c

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

Similar Colors

#1f0c9c Preview

Text with hexadecimal color #1f0c9c

This text has a font color of #1f0c9c.

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

This paragraph has a background color of #1f0c9c.

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

This element has a border color of #1f0c9c.

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

Shades and Tints of #1f0c9c

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, #02010a is the darkest color, while #f8f7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f0c9c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f0c9c 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
  • #211e3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396e Protanopia 1% of men
  • #003c5f Deuteranopia 1% of men
  • #004043 Tritanopia 0.001% of the population
Trichromacy
  • #0b287f Protanomaly 1% of men, 0.01% of women
  • #0b2a75 Deuteranomaly 6% of men, 0.4% of women
  • #0b2d63 Tritanomaly 0.01% of the population