#1a1f7f Color Information

In a RGB color space, hex #1a1f7f is composed of 10.2% red, 12.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 79.5% cyan, 75.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 237 degrees, a saturation of 66% and a lightness of 30%. #1a1f7f color hex could be obtained by blending #343efe with #000000. Closest websafe color is: #333366.

    • R 10
    • G 12
    • B 50
    RGB color chart
    • C 80
    • M 76
    • Y 0
    • K 50
    CMYK color chart

#1a1f7f color description : Dark blue.

#1a1f7f Color Conversion

The hexadecimal color #1a1f7f has RGB values of R:26, G:31, B:127 and CMYK values of C:0.8, M:0.76, Y:0, K:0.5. Its decimal value is 1711999.

Hex triplet 1a1f7f #1a1f7f
RGB Decimal 26, 31, 127 rgb(26,31,127)
RGB Percent 10.2, 12.2, 49.8 rgb(10.2%,12.2%,49.8%)
CMYK 80, 76, 0, 50
HSL 237°, 66, 30 hsl(237,66%,30%)
HSV (or HSB) 237°, 79.5, 49.8
Web Safe 333366 #333366
CIE-LAB 18.935, 33.537, -54.124
XYZ 4.746, 2.732, 20.355
xyY 0.171, 0.098, 2.732
CIE-LCH 18.935, 63.672, 301.783
CIE-LUV 18.935, -4.938, -58.613
Hunter-Lab 16.528, 22.334, -61.45
Binary 00011010, 00011111, 01111111

Color Schemes with #1a1f7f

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

Alternatives to #1a1f7f

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

Similar Colors

#1a1f7f Preview

Text with hexadecimal color #1a1f7f

This text has a font color of #1a1f7f.

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

This paragraph has a background color of #1a1f7f.

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

This element has a border color of #1a1f7f.

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

Shades and Tints of #1a1f7f

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, #03030d is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1a1f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1a1f7f 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
  • #282828 Achromatopsia 0.005% of the population
  • #252639 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #092e72 Protanomaly 1% of men, 0.01% of women
  • #093069 Deuteranomaly 6% of men, 0.4% of women
  • #093358 Tritanomaly 0.01% of the population