#1f1158 Color Information

In a RGB color space, hex #1f1158 is composed of 12.2% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 64.8% cyan, 80.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 251.8 degrees, a saturation of 67.6% and a lightness of 20.6%. #1f1158 color hex could be obtained by blending #3e22b0 with #000000. Closest websafe color is: #330066.

    • R 12
    • G 7
    • B 35
    RGB color chart
    • C 65
    • M 81
    • Y 0
    • K 65
    CMYK color chart

#1f1158 color description : Very dark blue.

#1f1158 Color Conversion

The hexadecimal color #1f1158 has RGB values of R:31, G:17, B:88 and CMYK values of C:0.65, M:0.81, Y:0, K:0.65. Its decimal value is 2036056.

Hex triplet 1f1158 #1f1158
RGB Decimal 31, 17, 88 rgb(31,17,88)
RGB Percent 12.2, 6.7, 34.5 rgb(12.2%,6.7%,34.5%)
CMYK 65, 81, 0, 65
HSL 251.8°, 67.6, 20.6 hsl(251.8,67.6%,20.6%)
HSV (or HSB) 251.8°, 80.7, 34.5
Web Safe 330066 #330066
CIE-LAB 11.936, 28.812, -40.129
XYZ 2.527, 1.397, 9.368
xyY 0.19, 0.105, 1.397
CIE-LCH 11.936, 49.401, 305.677
CIE-LUV 11.936, -0.296, -34.856
Hunter-Lab 11.818, 17.48, -38.727
Binary 00011111, 00010001, 01011000

Color Schemes with #1f1158

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

Alternatives to #1f1158

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

Similar Colors

#1f1158 Preview

Text with hexadecimal color #1f1158

This text has a font color of #1f1158.

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

This paragraph has a background color of #1f1158.

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

This element has a border color of #1f1158.

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

Shades and Tints of #1f1158

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

Shade Color Variation
Tint Color Variation

Tones of #1f1158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1158 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #1d1b29 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002951 Protanopia 1% of men
  • #002c46 Deuteranopia 1% of men
  • #062f32 Tritanopia 0.001% of the population
Trichromacy
  • #0b2053 Protanomaly 1% of men, 0.01% of women
  • #0b224d Deuteranomaly 6% of men, 0.4% of women
  • #0f2440 Tritanomaly 0.01% of the population