#1f1a38 Color Information

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

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

#1f1a38 color description : Very dark desaturated blue.

#1f1a38 Color Conversion

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

Hex triplet 1f1a38 #1f1a38
RGB Decimal 31, 26, 56 rgb(31,26,56)
RGB Percent 12.2, 10.2, 22 rgb(12.2%,10.2%,22%)
CMYK 45, 54, 0, 78
HSL 250°, 36.6, 16.1 hsl(250,36.6%,16.1%)
HSV (or HSB) 250°, 53.6, 22
Web Safe 333333 #333333
CIE-LAB 11.384, 11.381, -18.76
XYZ 1.648, 1.316, 3.908
xyY 0.24, 0.191, 1.316
CIE-LCH 11.384, 21.942, 301.245
CIE-LUV 11.384, 0.191, -16.382
Hunter-Lab 11.47, 5.577, -12.173
Binary 00011111, 00011010, 00111000

Color Schemes with #1f1a38

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

Alternatives to #1f1a38

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

Similar Colors

#1f1a38 Preview

Text with hexadecimal color #1f1a38

This text has a font color of #1f1a38.

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

This paragraph has a background color of #1f1a38.

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

This element has a border color of #1f1a38.

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

Shades and Tints of #1f1a38

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

Shade Color Variation
Tint Color Variation

Tones of #1f1a38

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

Tone Color Variation

Color Blindness Simulator

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

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1f1e24 Atypical Achromatopsia 0.001% of the population
  • #1c2944 Protanopia 1% of men
  • #1b2a40 Deuteranopia 1% of men
  • #242a2d Tritanopia 0.001% of the population
  • #1d2340 Protanomaly 1% of men, 0.01% of women
  • #1c243d Deuteranomaly 6% of men, 0.4% of women
  • #222431 Tritanomaly 0.01% of the population