#2a2f42 Color Information

In a RGB color space, hex #2a2f42 is composed of 16.5% red, 18.4% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 36.4% cyan, 28.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 227.5 degrees, a saturation of 22.2% and a lightness of 21.2%. #2a2f42 color hex could be obtained by blending #545e84 with #000000. Closest websafe color is: #333333.

    • R 16
    • G 18
    • B 26
    RGB color chart
    • C 36
    • M 29
    • Y 0
    • K 74
    CMYK color chart

#2a2f42 color description : Very dark desaturated blue.

#2a2f42 Color Conversion

The hexadecimal color #2a2f42 has RGB values of R:42, G:47, B:66 and CMYK values of C:0.36, M:0.29, Y:0, K:0.74. Its decimal value is 2764610.

Hex triplet 2a2f42 #2a2f42
RGB Decimal 42, 47, 66 rgb(42,47,66)
RGB Percent 16.5, 18.4, 25.9 rgb(16.5%,18.4%,25.9%)
CMYK 36, 29, 0, 74
HSL 227.5°, 22.2, 21.2 hsl(227.5,22.2%,21.2%)
HSV (or HSB) 227.5°, 36.4, 25.9
Web Safe 333333 #333333
CIE-LAB 19.715, 3.27, -12.63
XYZ 2.955, 2.919, 5.562
xyY 0.258, 0.255, 2.919
CIE-LCH 19.715, 13.046, 284.514
CIE-LUV 19.715, -2.944, -13.877
Hunter-Lab 17.084, 0.974, -7.343
Binary 00101010, 00101111, 01000010

Color Schemes with #2a2f42

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

Alternatives to #2a2f42

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

Similar Colors

#2a2f42 Preview

Text with hexadecimal color #2a2f42

This text has a font color of #2a2f42.

<span style="color:#2a2f42;">Text here</span>
#2a2f42 background color

This paragraph has a background color of #2a2f42.

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

This element has a border color of #2a2f42.

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

Shades and Tints of #2a2f42

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

Shade Color Variation
Tint Color Variation

Tones of #2a2f42

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

Tone Color Variation

Color Blindness Simulator

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

  • #303030 Achromatopsia 0.005% of the population
  • #2f3034 Atypical Achromatopsia 0.001% of the population
  • #35394b Protanopia 1% of men
  • #35394b Deuteranopia 1% of men
  • #323c40 Tritanopia 0.001% of the population
  • #313548 Protanomaly 1% of men, 0.01% of women
  • #313548 Deuteranomaly 6% of men, 0.4% of women
  • #2f3740 Tritanomaly 0.01% of the population