#1f2a8b Color Information

In a RGB color space, hex #1f2a8b is composed of 12.2% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 77.7% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 233.9 degrees, a saturation of 63.5% and a lightness of 33.3%. #1f2a8b color hex could be obtained by blending #3e54ff with #000017. Closest websafe color is: #333399.

    • R 12
    • G 16
    • B 55
    RGB color chart
    • C 78
    • M 70
    • Y 0
    • K 45
    CMYK color chart

#1f2a8b color description : Dark blue.

#1f2a8b Color Conversion

The hexadecimal color #1f2a8b has RGB values of R:31, G:42, B:139 and CMYK values of C:0.78, M:0.7, Y:0, K:0.45. Its decimal value is 2042507.

Hex triplet 1f2a8b #1f2a8b
RGB Decimal 31, 42, 139 rgb(31,42,139)
RGB Percent 12.2, 16.5, 54.5 rgb(12.2%,16.5%,54.5%)
CMYK 78, 70, 0, 45
HSL 233.9°, 63.5, 33.3 hsl(233.9,63.5%,33.3%)
HSV (or HSB) 233.9°, 77.7, 54.5
Web Safe 333399 #333399
CIE-LAB 23.036, 31.403, -54.905
XYZ 6.052, 3.811, 24.841
xyY 0.174, 0.11, 3.811
CIE-LCH 23.036, 63.251, 299.768
CIE-LUV 23.036, -6.612, -65.683
Hunter-Lab 19.522, 21.178, -61.782
Binary 00011111, 00101010, 10001011

Color Schemes with #1f2a8b

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

Alternatives to #1f2a8b

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

Similar Colors

#1f2a8b Preview

Text with hexadecimal color #1f2a8b

This text has a font color of #1f2a8b.

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

This paragraph has a background color of #1f2a8b.

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

This element has a border color of #1f2a8b.

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

Shades and Tints of #1f2a8b

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, #02030b is the darkest color, while #fafafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f2a8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f2a8b 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
  • #323232 Achromatopsia 0.005% of the population
  • #2e3044 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00436b Deuteranopia 1% of men
  • #00474b Tritanopia 0.001% of the population
Trichromacy
  • #0b3781 Protanomaly 1% of men, 0.01% of women
  • #0b3976 Deuteranomaly 6% of men, 0.4% of women
  • #0b3c62 Tritanomaly 0.01% of the population