#1f40af Color Information

In a RGB color space, hex #1f40af is composed of 12.2% red, 25.1% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 82.3% cyan, 63.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 226.3 degrees, a saturation of 69.9% and a lightness of 40.4%. #1f40af color hex could be obtained by blending #3e80ff with #00005f. Closest websafe color is: #333399.

    • R 12
    • G 25
    • B 69
    RGB color chart
    • C 82
    • M 63
    • Y 0
    • K 31
    CMYK color chart

#1f40af color description : Dark blue.

#1f40af Color Conversion

The hexadecimal color #1f40af has RGB values of R:31, G:64, B:175 and CMYK values of C:0.82, M:0.63, Y:0, K:0.31. Its decimal value is 2048175.

Hex triplet 1f40af #1f40af
RGB Decimal 31, 64, 175 rgb(31,64,175)
RGB Percent 12.2, 25.1, 68.6 rgb(12.2%,25.1%,68.6%)
CMYK 82, 63, 0, 31
HSL 226.3°, 69.9, 40.4 hsl(226.3,69.9%,40.4%)
HSV (or HSB) 226.3°, 82.3, 68.6
Web Safe 333399 #333399
CIE-LAB 31.926, 30.52, -62.24
XYZ 10.135, 7.052, 41.382
xyY 0.173, 0.12, 7.052
CIE-LCH 31.926, 69.32, 296.121
CIE-LUV 31.926, -12.026, -84.645
Hunter-Lab 26.557, 21.647, -73.8
Binary 00011111, 01000000, 10101111

Color Schemes with #1f40af

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

Alternatives to #1f40af

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

Similar Colors

#1f40af Preview

Text with hexadecimal color #1f40af

This text has a font color of #1f40af.

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

This paragraph has a background color of #1f40af.

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

This element has a border color of #1f40af.

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

Shades and Tints of #1f40af

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

Shade Color Variation
Tint Color Variation

Tones of #1f40af

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f40af 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
  • #434343 Achromatopsia 0.005% of the population
  • #3c4259 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0051a0 Protanopia 1% of men
  • #00568b Deuteranopia 1% of men
  • #005c61 Tritanopia 0.001% of the population
Trichromacy
  • #0b4ba5 Protanomaly 1% of men, 0.01% of women
  • #0b4e98 Deuteranomaly 6% of men, 0.4% of women
  • #0b527d Tritanomaly 0.01% of the population