#1f1f28 Color Information

In a RGB color space, hex #1f1f28 is composed of 12.2% red, 12.2% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 22.5% cyan, 22.5% magenta, 0% yellow and 84.3% black. It has a hue angle of 240 degrees, a saturation of 12.7% and a lightness of 13.9%. #1f1f28 color hex could be obtained by blending #3e3e50 with #000000. Closest websafe color is: #333333.

    • R 12
    • G 12
    • B 16
    RGB color chart
    • C 23
    • M 23
    • Y 0
    • K 84
    CMYK color chart

#1f1f28 color description : Very dark (mostly black) blue.

#1f1f28 Color Conversion

The hexadecimal color #1f1f28 has RGB values of R:31, G:31, B:40 and CMYK values of C:0.23, M:0.23, Y:0, K:0.84. Its decimal value is 2039592.

Hex triplet 1f1f28 #1f1f28
RGB Decimal 31, 31, 40 rgb(31,31,40)
RGB Percent 12.2, 12.2, 15.7 rgb(12.2%,12.2%,15.7%)
CMYK 23, 23, 0, 84
HSL 240°, 12.7, 13.9 hsl(240,12.7%,13.9%)
HSV (or HSB) 240°, 22.5, 15.7
Web Safe 333333 #333333
CIE-LAB 12.12, 2.459, -6.045
XYZ 1.438, 1.424, 2.207
xyY 0.284, 0.281, 1.424
CIE-LCH 12.12, 6.526, 292.132
CIE-LUV 12.12, -0.372, -5.143
Hunter-Lab 11.935, 0.62, -2.607
Binary 00011111, 00011111, 00101000

Color Schemes with #1f1f28

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

Alternatives to #1f1f28

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

Similar Colors

#1f1f28 Preview

Text with hexadecimal color #1f1f28

This text has a font color of #1f1f28.

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

This paragraph has a background color of #1f1f28.

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

This element has a border color of #1f1f28.

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

Shades and Tints of #1f1f28

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

Shade Color Variation
Tint Color Variation

Tones of #1f1f28

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1f28 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
  • #202022 Atypical Achromatopsia 0.001% of the population
  • #292b33 Protanopia 1% of men
  • #2b2a33 Deuteranopia 1% of men
  • #292b2e Tritanopia 0.001% of the population
  • #25262f Protanomaly 1% of men, 0.01% of women
  • #26262f Deuteranomaly 6% of men, 0.4% of women
  • #25262c Tritanomaly 0.01% of the population