#031f87 Color Information

In a RGB color space, hex #031f87 is composed of 1.2% red, 12.2% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 77% magenta, 0% yellow and 47.1% black. It has a hue angle of 227.3 degrees, a saturation of 95.7% and a lightness of 27.1%. #031f87 color hex could be obtained by blending #063eff with #00000f. Closest websafe color is: #003399.

    • R 1
    • G 12
    • B 53
    RGB color chart
    • C 98
    • M 77
    • Y 0
    • K 47
    CMYK color chart

#031f87 color description : Dark blue.

#031f87 Color Conversion

The hexadecimal color #031f87 has RGB values of R:3, G:31, B:135 and CMYK values of C:0.98, M:0.77, Y:0, K:0.47. Its decimal value is 204679.

Hex triplet 031f87 #031f87
RGB Decimal 3, 31, 135 rgb(3,31,135)
RGB Percent 1.2, 12.2, 52.9 rgb(1.2%,12.2%,52.9%)
CMYK 98, 77, 0, 47
HSL 227.3°, 95.7, 27.1 hsl(227.3,95.7%,27.1%)
HSV (or HSB) 227.3°, 97.8, 52.9
Web Safe 003399 #003399
CIE-LAB 19.006, 35.2, -59.088
XYZ 4.9, 2.748, 23.193
xyY 0.159, 0.089, 2.748
CIE-LCH 19.006, 68.778, 300.783
CIE-LUV 19.006, -7.028, -62.896
Hunter-Lab 16.578, 23.748, -71.344
Binary 00000011, 00011111, 10000111

Color Schemes with #031f87

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

Alternatives to #031f87

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

Similar Colors

#031f87 Preview

Text with hexadecimal color #031f87

This text has a font color of #031f87.

<span style="color:#031f87;">Text here</span>
#031f87 background color

This paragraph has a background color of #031f87.

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

This element has a border color of #031f87.

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

Shades and Tints of #031f87

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

Shade Color Variation
Tint Color Variation

Tones of #031f87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #031f87 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.

  • #222222 Achromatopsia 0.005% of the population
  • #1c2136 Atypical Achromatopsia 0.001% of the population
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
  • #012e75 Protanomaly 1% of men, 0.01% of women
  • #01306c Deuteranomaly 6% of men, 0.4% of women
  • #01335a Tritanomaly 0.01% of the population