#20157f Color Information

In a RGB color space, hex #20157f is composed of 12.5% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 74.8% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 246.2 degrees, a saturation of 71.6% and a lightness of 29%. #20157f color hex could be obtained by blending #402afe with #000000. Closest websafe color is: #330066.

    • R 13
    • G 8
    • B 50
    RGB color chart
    • C 75
    • M 83
    • Y 0
    • K 50
    CMYK color chart

#20157f color description : Dark blue.

#20157f Color Conversion

The hexadecimal color #20157f has RGB values of R:32, G:21, B:127 and CMYK values of C:0.75, M:0.83, Y:0, K:0.5. Its decimal value is 2102655.

Hex triplet 20157f #20157f
RGB Decimal 32, 21, 127 rgb(32,21,127)
RGB Percent 12.5, 8.2, 49.8 rgb(12.5%,8.2%,49.8%)
CMYK 75, 83, 0, 50
HSL 246.2°, 71.6, 29 hsl(246.2,71.6%,29%)
HSV (or HSB) 246.2°, 83.5, 49.8
Web Safe 330066 #330066
CIE-LAB 17.346, 39.711, -56.741
XYZ 4.694, 2.375, 20.289
xyY 0.172, 0.087, 2.375
CIE-LCH 17.346, 69.257, 304.987
CIE-LUV 17.346, -2.773, -57.966
Hunter-Lab 15.413, 27.39, -67.259
Binary 00100000, 00010101, 01111111

Color Schemes with #20157f

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

Alternatives to #20157f

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

Similar Colors

#20157f Preview

Text with hexadecimal color #20157f

This text has a font color of #20157f.

<span style="color:#20157f;">Text here</span>
#20157f background color

This paragraph has a background color of #20157f.

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

This element has a border color of #20157f.

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

Shades and Tints of #20157f

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

Shade Color Variation
Tint Color Variation

Tones of #20157f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #20157f 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
  • #242424 Achromatopsia 0.005% of the population
  • #232136 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003465 Protanopia 1% of men
  • #003757 Deuteranopia 1% of men
  • #003b3e Tritanopia 0.001% of the population
Trichromacy
  • #0b286e Protanomaly 1% of men, 0.01% of women
  • #0b2a65 Deuteranomaly 6% of men, 0.4% of women
  • #0b2d55 Tritanomaly 0.01% of the population