#1f0c8d Color Information

In a RGB color space, hex #1f0c8d is composed of 12.2% red, 4.7% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 78% cyan, 91.5% magenta, 0% yellow and 44.7% black. It has a hue angle of 248.8 degrees, a saturation of 84.3% and a lightness of 30%. #1f0c8d color hex could be obtained by blending #3e18ff with #00001b. Closest websafe color is: #330099.

    • R 12
    • G 5
    • B 55
    RGB color chart
    • C 78
    • M 91
    • Y 0
    • K 45
    CMYK color chart

#1f0c8d color description : Dark blue.

#1f0c8d Color Conversion

The hexadecimal color #1f0c8d has RGB values of R:31, G:12, B:141 and CMYK values of C:0.78, M:0.91, Y:0, K:0.45. Its decimal value is 2034829.

Hex triplet 1f0c8d #1f0c8d
RGB Decimal 31, 12, 141 rgb(31,12,141)
RGB Percent 12.2, 4.7, 55.3 rgb(12.2%,4.7%,55.3%)
CMYK 78, 91, 0, 45
HSL 248.8°, 84.3, 30 hsl(248.8,84.3%,30%)
HSV (or HSB) 248.8°, 91.5, 55.3
Web Safe 330099 #330099
CIE-LAB 17.814, 47.682, -64.795
XYZ 5.503, 2.477, 25.386
xyY 0.165, 0.074, 2.477
CIE-LCH 17.814, 80.448, 306.349
CIE-LUV 17.814, -2.911, -65.008
Hunter-Lab 15.739, 34.874, -84.617
Binary 00011111, 00001100, 10001101

Color Schemes with #1f0c8d

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

Alternatives to #1f0c8d

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

Similar Colors

#1f0c8d Preview

Text with hexadecimal color #1f0c8d

This text has a font color of #1f0c8d.

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

This paragraph has a background color of #1f0c8d.

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

This element has a border color of #1f0c8d.

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

Shades and Tints of #1f0c8d

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, #03010e is the darkest color, while #fcfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f0c8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f0c8d 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.

  • #202020 Achromatopsia 0.005% of the population
  • #201c36 Atypical Achromatopsia 0.001% of the population
  • #003566 Protanopia 1% of men
  • #003858 Deuteranopia 1% of men
  • #003c3e Tritanopia 0.001% of the population
  • #0b2674 Protanomaly 1% of men, 0.01% of women
  • #0b286b Deuteranomaly 6% of men, 0.4% of women
  • #0b2a5b Tritanomaly 0.01% of the population