#1f1f7a Color Information

In a RGB color space, hex #1f1f7a is composed of 12.2% red, 12.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 74.6% cyan, 74.6% magenta, 0% yellow and 52.2% black. It has a hue angle of 240 degrees, a saturation of 59.5% and a lightness of 30%. #1f1f7a color hex could be obtained by blending #3e3ef4 with #000000. Closest websafe color is: #333366.

    • R 12
    • G 12
    • B 48
    RGB color chart
    • C 75
    • M 75
    • Y 0
    • K 52
    CMYK color chart

#1f1f7a color description : Dark blue.

#1f1f7a Color Conversion

The hexadecimal color #1f1f7a has RGB values of R:31, G:31, B:122 and CMYK values of C:0.75, M:0.75, Y:0, K:0.52. Its decimal value is 2039674.

Hex triplet 1f1f7a #1f1f7a
RGB Decimal 31, 31, 122 rgb(31,31,122)
RGB Percent 12.2, 12.2, 47.8 rgb(12.2%,12.2%,47.8%)
CMYK 75, 75, 0, 52
HSL 240°, 59.5, 30 hsl(240,59.5%,30%)
HSV (or HSB) 240°, 74.6, 47.8
Web Safe 333366 #333366
CIE-LAB 18.697, 32.221, -51.322
XYZ 4.567, 2.676, 18.687
xyY 0.176, 0.103, 2.676
CIE-LCH 18.697, 60.598, 302.121
CIE-LUV 18.697, -4.022, -55.741
Hunter-Lab 16.359, 21.207, -56.277
Binary 00011111, 00011111, 01111010

Color Schemes with #1f1f7a

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

Alternatives to #1f1f7a

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

Similar Colors

#1f1f7a Preview

Text with hexadecimal color #1f1f7a

This text has a font color of #1f1f7a.

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

This paragraph has a background color of #1f1f7a.

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

This element has a border color of #1f1f7a.

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

Shades and Tints of #1f1f7a

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1f7a 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
  • #292929 Achromatopsia 0.005% of the population
  • #272739 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00366a Protanopia 1% of men
  • #00395c Deuteranopia 1% of men
  • #003d41 Tritanopia 0.001% of the population
Trichromacy
  • #0b2e70 Protanomaly 1% of men, 0.01% of women
  • #0b3067 Deuteranomaly 6% of men, 0.4% of women
  • #0b3256 Tritanomaly 0.01% of the population