#1f51a5 Color Information

In a RGB color space, hex #1f51a5 is composed of 12.2% red, 31.8% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 81.2% cyan, 50.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 217.6 degrees, a saturation of 68.4% and a lightness of 38.4%. #1f51a5 color hex could be obtained by blending #3ea2ff with #00004b. Closest websafe color is: #336699.

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

#1f51a5 color description : Dark blue.

#1f51a5 Color Conversion

The hexadecimal color #1f51a5 has RGB values of R:31, G:81, B:165 and CMYK values of C:0.81, M:0.51, Y:0, K:0.35. Its decimal value is 2052517.

Hex triplet 1f51a5 #1f51a5
RGB Decimal 31, 81, 165 rgb(31,81,165)
RGB Percent 12.2, 31.8, 64.7 rgb(12.2%,31.8%,64.7%)
CMYK 81, 51, 0, 35
HSL 217.6°, 68.4, 38.4 hsl(217.6,68.4%,38.4%)
HSV (or HSB) 217.6°, 81.2, 64.7
Web Safe 336699 #336699
CIE-LAB 35.775, 15.191, -50.006
XYZ 10.298, 8.892, 36.769
xyY 0.184, 0.159, 8.892
CIE-LCH 35.775, 52.262, 286.898
CIE-LUV 35.775, -16.586, -71.272
Hunter-Lab 29.819, 9.457, -52.234
Binary 00011111, 01010001, 10100101

Color Schemes with #1f51a5

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

Alternatives to #1f51a5

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

Similar Colors

#1f51a5 Preview

Text with hexadecimal color #1f51a5

This text has a font color of #1f51a5.

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

This paragraph has a background color of #1f51a5.

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

This element has a border color of #1f51a5.

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

Shades and Tints of #1f51a5

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

Shade Color Variation
Tint Color Variation

Tones of #1f51a5

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

Tone Color Variation

Color Blindness Simulator

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

  • #4c4c4c Achromatopsia 0.005% of the population
  • #434d5e Atypical Achromatopsia 0.001% of the population
  • #265aa9 Protanopia 1% of men
  • #005e9c Deuteranopia 1% of men
  • #00666c Tritanopia 0.001% of the population
  • #2356a8 Protanomaly 1% of men, 0.01% of women
  • #0b599f Deuteranomaly 6% of men, 0.4% of women
  • #0b5e80 Tritanomaly 0.01% of the population