#1f217e Color Information

In a RGB color space, hex #1f217e is composed of 12.2% red, 12.9% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 75.4% cyan, 73.8% magenta, 0% yellow and 50.6% black. It has a hue angle of 238.7 degrees, a saturation of 60.5% and a lightness of 30.8%. #1f217e color hex could be obtained by blending #3e42fc with #000000. Closest websafe color is: #333366.

    • R 12
    • G 13
    • B 49
    RGB color chart
    • C 75
    • M 74
    • Y 0
    • K 51
    CMYK color chart

#1f217e color description : Dark blue.

#1f217e Color Conversion

The hexadecimal color #1f217e has RGB values of R:31, G:33, B:126 and CMYK values of C:0.75, M:0.74, Y:0, K:0.51. Its decimal value is 2040190.

Hex triplet 1f217e #1f217e
RGB Decimal 31, 33, 126 rgb(31,33,126)
RGB Percent 12.2, 12.9, 49.4 rgb(12.2%,12.9%,49.4%)
CMYK 75, 74, 0, 51
HSL 238.7°, 60.5, 30.8 hsl(238.7,60.5%,30.8%)
HSV (or HSB) 238.7°, 75.4, 49.4
Web Safe 333366 #333366
CIE-LAB 19.578, 32.409, -52.42
XYZ 4.874, 2.885, 20.038
xyY 0.175, 0.104, 2.885
CIE-LCH 19.578, 61.629, 301.727
CIE-LUV 19.578, -4.519, -58.155
Hunter-Lab 16.986, 21.497, -58.053
Binary 00011111, 00100001, 01111110

Color Schemes with #1f217e

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

Alternatives to #1f217e

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

Similar Colors

#1f217e Preview

Text with hexadecimal color #1f217e

This text has a font color of #1f217e.

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

This paragraph has a background color of #1f217e.

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

This element has a border color of #1f217e.

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

Shades and Tints of #1f217e

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

Shade Color Variation
Tint Color Variation

Tones of #1f217e

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

Tone Color Variation

Color Blindness Simulator

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

  • #2b2b2b Achromatopsia 0.005% of the population
  • #29293c Atypical Achromatopsia 0.001% of the population
  • #00386e Protanopia 1% of men
  • #003b5f Deuteranopia 1% of men
  • #003f43 Tritanopia 0.001% of the population
  • #0b2f73 Protanomaly 1% of men, 0.01% of women
  • #0b326a Deuteranomaly 6% of men, 0.4% of women
  • #0b3458 Tritanomaly 0.01% of the population