#1f2a7e Color Information

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

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

#1f2a7e color description : Dark blue.

#1f2a7e Color Conversion

The hexadecimal color #1f2a7e has RGB values of R:31, G:42, B:126 and CMYK values of C:0.75, M:0.67, Y:0, K:0.51. Its decimal value is 2042494.

Hex triplet 1f2a7e #1f2a7e
RGB Decimal 31, 42, 126 rgb(31,42,126)
RGB Percent 12.2, 16.5, 49.4 rgb(12.2%,16.5%,49.4%)
CMYK 75, 67, 0, 51
HSL 233.1°, 60.5, 30.8 hsl(233.1,60.5%,30.8%)
HSV (or HSB) 233.1°, 75.4, 49.4
Web Safe 333366 #333366
CIE-LAB 21.775, 26.48, -48.811
XYZ 5.158, 3.453, 20.132
xyY 0.179, 0.12, 3.453
CIE-LCH 21.775, 55.531, 298.48
CIE-LUV 21.775, -6.234, -57.605
Hunter-Lab 18.583, 17.027, -51.225
Binary 00011111, 00101010, 01111110

Color Schemes with #1f2a7e

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

Alternatives to #1f2a7e

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

Similar Colors

#1f2a7e Preview

Text with hexadecimal color #1f2a7e

This text has a font color of #1f2a7e.

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

This paragraph has a background color of #1f2a7e.

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

This element has a border color of #1f2a7e.

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

Shades and Tints of #1f2a7e

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 #1f2a7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f2a7e 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
  • #303030 Achromatopsia 0.005% of the population
  • #2d2f40 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c76 Protanopia 1% of men
  • #004067 Deuteranopia 1% of men
  • #004448 Tritanopia 0.001% of the population
Trichromacy
  • #0b3679 Protanomaly 1% of men, 0.01% of women
  • #0b386f Deuteranomaly 6% of men, 0.4% of women
  • #0b3b5c Tritanomaly 0.01% of the population