#271f42 Color Information

In a RGB color space, hex #271f42 is composed of 15.3% red, 12.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 40.9% cyan, 53% magenta, 0% yellow and 74.1% black. It has a hue angle of 253.7 degrees, a saturation of 36.1% and a lightness of 19%. #271f42 color hex could be obtained by blending #4e3e84 with #000000. Closest websafe color is: #333333.

    • R 15
    • G 12
    • B 26
    RGB color chart
    • C 41
    • M 53
    • Y 0
    • K 74
    CMYK color chart

#271f42 color description : Very dark desaturated blue.

#271f42 Color Conversion

The hexadecimal color #271f42 has RGB values of R:39, G:31, B:66 and CMYK values of C:0.41, M:0.53, Y:0, K:0.74. Its decimal value is 2563906.

Hex triplet 271f42 #271f42
RGB Decimal 39, 31, 66 rgb(39,31,66)
RGB Percent 15.3, 12.2, 25.9 rgb(15.3%,12.2%,25.9%)
CMYK 41, 53, 0, 74
HSL 253.7°, 36.1, 19 hsl(253.7,36.1%,19%)
HSV (or HSB) 253.7°, 53, 25.9
Web Safe 333333 #333333
CIE-LAB 14.427, 13.679, -20.933
XYZ 2.31, 1.805, 5.381
xyY 0.243, 0.19, 1.805
CIE-LCH 14.427, 25.006, 303.163
CIE-LUV 14.427, 0.963, -20.919
Hunter-Lab 13.434, 7.184, -14.344
Binary 00100111, 00011111, 01000010

Color Schemes with #271f42

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

Alternatives to #271f42

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

Similar Colors

#271f42 Preview

Text with hexadecimal color #271f42

This text has a font color of #271f42.

<span style="color:#271f42;">Text here</span>
#271f42 background color

This paragraph has a background color of #271f42.

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

This element has a border color of #271f42.

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

Shades and Tints of #271f42

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, #07060d is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #271f42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #271f42 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
  • #252525 Achromatopsia 0.005% of the population
  • #25242b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f2e4f Protanopia 1% of men
  • #1e3049 Deuteranopia 1% of men
  • #2b3034 Tritanopia 0.001% of the population
Trichromacy
  • #22294a Protanomaly 1% of men, 0.01% of women
  • #212946 Deuteranomaly 6% of men, 0.4% of women
  • #2a2a39 Tritanomaly 0.01% of the population