#1f2f7e Color Information

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

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

#1f2f7e color description : Dark blue.

#1f2f7e Color Conversion

The hexadecimal color #1f2f7e has RGB values of R:31, G:47, B:126 and CMYK values of C:0.75, M:0.63, Y:0, K:0.51. Its decimal value is 2043774.

Hex triplet 1f2f7e #1f2f7e
RGB Decimal 31, 47, 126 rgb(31,47,126)
RGB Percent 12.2, 18.4, 49.4 rgb(12.2%,18.4%,49.4%)
CMYK 75, 63, 0, 51
HSL 229.9°, 60.5, 30.8 hsl(229.9,60.5%,30.8%)
HSV (or HSB) 229.9°, 75.4, 49.4
Web Safe 333366 #333366
CIE-LAB 23.102, 23.036, -46.64
XYZ 5.347, 3.83, 20.195
xyY 0.182, 0.13, 3.83
CIE-LCH 23.102, 52.019, 296.285
CIE-LUV 23.102, -7.361, -56.747
Hunter-Lab 19.571, 14.515, -47.48
Binary 00011111, 00101111, 01111110

Color Schemes with #1f2f7e

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

Alternatives to #1f2f7e

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

Similar Colors

#1f2f7e Preview

Text with hexadecimal color #1f2f7e

This text has a font color of #1f2f7e.

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

This paragraph has a background color of #1f2f7e.

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

This element has a border color of #1f2f7e.

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

Shades and Tints of #1f2f7e

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 #eff1fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f2f7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f2f7e 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
  • #333333 Achromatopsia 0.005% of the population
  • #2f3242 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7c Protanopia 1% of men
  • #00436c Deuteranopia 1% of men
  • #00474c Tritanopia 0.001% of the population
Trichromacy
  • #0b397c Protanomaly 1% of men, 0.01% of women
  • #0b3b72 Deuteranomaly 6% of men, 0.4% of women
  • #0b3e5e Tritanomaly 0.01% of the population