#1f40a7 Color Information

In a RGB color space, hex #1f40a7 is composed of 12.2% red, 25.1% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 81.4% cyan, 61.7% magenta, 0% yellow and 34.5% black. It has a hue angle of 225.4 degrees, a saturation of 68.7% and a lightness of 38.8%. #1f40a7 color hex could be obtained by blending #3e80ff with #00004f. Closest websafe color is: #333399.

    • R 12
    • G 25
    • B 65
    RGB color chart
    • C 81
    • M 62
    • Y 0
    • K 35
    CMYK color chart

#1f40a7 color description : Dark blue.

#1f40a7 Color Conversion

The hexadecimal color #1f40a7 has RGB values of R:31, G:64, B:167 and CMYK values of C:0.81, M:0.62, Y:0, K:0.35. Its decimal value is 2048167.

Hex triplet 1f40a7 #1f40a7
RGB Decimal 31, 64, 167 rgb(31,64,167)
RGB Percent 12.2, 25.1, 65.5 rgb(12.2%,25.1%,65.5%)
CMYK 81, 62, 0, 35
HSL 225.4°, 68.7, 38.8 hsl(225.4,68.7%,38.8%)
HSV (or HSB) 225.4°, 81.4, 65.5
Web Safe 333399 #333399
CIE-LAB 31.225, 27.439, -58.601
XYZ 9.372, 6.747, 37.366
xyY 0.175, 0.126, 6.747
CIE-LCH 31.225, 64.707, 295.091
CIE-LUV 31.225, -11.971, -79.41
Hunter-Lab 25.976, 18.945, -67.104
Binary 00011111, 01000000, 10100111

Color Schemes with #1f40a7

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

Alternatives to #1f40a7

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

Similar Colors

#1f40a7 Preview

Text with hexadecimal color #1f40a7

This text has a font color of #1f40a7.

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

This paragraph has a background color of #1f40a7.

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

This element has a border color of #1f40a7.

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

Shades and Tints of #1f40a7

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

Shade Color Variation
Tint Color Variation

Tones of #1f40a7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f40a7 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
  • #424242 Achromatopsia 0.005% of the population
  • #3b4256 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005589 Deuteranopia 1% of men
  • #005b60 Tritanopia 0.001% of the population
Trichromacy
  • #0b4aa0 Protanomaly 1% of men, 0.01% of women
  • #0b4d93 Deuteranomaly 6% of men, 0.4% of women
  • #0b5179 Tritanomaly 0.01% of the population