#1f218b Color Information

In a RGB color space, hex #1f218b is composed of 12.2% red, 12.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 77.7% cyan, 76.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 238.9 degrees, a saturation of 63.5% and a lightness of 33.3%. #1f218b color hex could be obtained by blending #3e42ff with #000017. Closest websafe color is: #333399.

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

#1f218b color description : Dark blue.

#1f218b Color Conversion

The hexadecimal color #1f218b has RGB values of R:31, G:33, B:139 and CMYK values of C:0.78, M:0.76, Y:0, K:0.45. Its decimal value is 2040203.

Hex triplet 1f218b #1f218b
RGB Decimal 31, 33, 139 rgb(31,33,139)
RGB Percent 12.2, 12.9, 54.5 rgb(12.2%,12.9%,54.5%)
CMYK 78, 76, 0, 45
HSL 238.9°, 63.5, 33.3 hsl(238.9,63.5%,33.3%)
HSV (or HSB) 238.9°, 77.7, 54.5
Web Safe 333399 #333399
CIE-LAB 20.991, 37.045, -58.276
XYZ 5.768, 3.243, 24.747
xyY 0.171, 0.096, 3.243
CIE-LCH 20.991, 69.053, 302.444
CIE-LUV 20.991, -5.046, -65.896
Hunter-Lab 18.008, 25.664, -68.873
Binary 00011111, 00100001, 10001011

Color Schemes with #1f218b

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

Alternatives to #1f218b

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

Similar Colors

#1f218b Preview

Text with hexadecimal color #1f218b

This text has a font color of #1f218b.

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

This paragraph has a background color of #1f218b.

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

This element has a border color of #1f218b.

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

Shades and Tints of #1f218b

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, #02030b is the darkest color, while #fafafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f218b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f218b 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #292a3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #004346 Tritanopia 0.001% of the population
Trichromacy
  • #0b317c Protanomaly 1% of men, 0.01% of women
  • #0b3372 Deuteranomaly 6% of men, 0.4% of women
  • #0b365f Tritanomaly 0.01% of the population