#1f1f38 Color Information

In a RGB color space, hex #1f1f38 is composed of 12.2% red, 12.2% green and 22% blue. Whereas in a CMYK color space, it is composed of 44.6% cyan, 44.6% magenta, 0% yellow and 78% black. It has a hue angle of 240 degrees, a saturation of 28.7% and a lightness of 17.1%. #1f1f38 color hex could be obtained by blending #3e3e70 with #000000. Closest websafe color is: #333333.

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

#1f1f38 color description : Very dark desaturated blue.

#1f1f38 Color Conversion

The hexadecimal color #1f1f38 has RGB values of R:31, G:31, B:56 and CMYK values of C:0.45, M:0.45, Y:0, K:0.78. Its decimal value is 2039608.

Hex triplet 1f1f38 #1f1f38
RGB Decimal 31, 31, 56 rgb(31,31,56)
RGB Percent 12.2, 12.2, 22 rgb(12.2%,12.2%,22%)
CMYK 45, 45, 0, 78
HSL 240°, 28.7, 17.1 hsl(240,28.7%,17.1%)
HSV (or HSB) 240°, 44.6, 22
Web Safe 333333 #333333
CIE-LAB 12.964, 7.652, -16.26
XYZ 1.769, 1.557, 3.948
xyY 0.243, 0.214, 1.557
CIE-LCH 12.964, 17.971, 295.2
CIE-LUV 12.964, -1.087, -15.052
Hunter-Lab 12.477, 3.469, -10.029
Binary 00011111, 00011111, 00111000

Color Schemes with #1f1f38

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

Alternatives to #1f1f38

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

Similar Colors

#1f1f38 Preview

Text with hexadecimal color #1f1f38

This text has a font color of #1f1f38.

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

This paragraph has a background color of #1f1f38.

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

This element has a border color of #1f1f38.

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

Shades and Tints of #1f1f38

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

Shade Color Variation
Tint Color Variation

Tones of #1f1f38

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1f38 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
  • #212126 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #232c43 Protanopia 1% of men
  • #222c41 Deuteranopia 1% of men
  • #252e31 Tritanopia 0.001% of the population
Trichromacy
  • #21273f Protanomaly 1% of men, 0.01% of women
  • #21273e Deuteranomaly 6% of men, 0.4% of women
  • #232834 Tritanomaly 0.01% of the population