#2a2f40 Color Information

In a RGB color space, hex #2a2f40 is composed of 16.5% red, 18.4% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 34.4% cyan, 26.6% magenta, 0% yellow and 74.9% black. It has a hue angle of 226.4 degrees, a saturation of 20.8% and a lightness of 20.8%. #2a2f40 color hex could be obtained by blending #545e80 with #000000. Closest websafe color is: #333333.

    • R 16
    • G 18
    • B 25
    RGB color chart
    • C 34
    • M 27
    • Y 0
    • K 75
    CMYK color chart

#2a2f40 color description : Very dark grayish blue.

#2a2f40 Color Conversion

The hexadecimal color #2a2f40 has RGB values of R:42, G:47, B:64 and CMYK values of C:0.34, M:0.27, Y:0, K:0.75. Its decimal value is 2764608.

Hex triplet 2a2f40 #2a2f40
RGB Decimal 42, 47, 64 rgb(42,47,64)
RGB Percent 16.5, 18.4, 25.1 rgb(16.5%,18.4%,25.1%)
CMYK 34, 27, 0, 75
HSL 226.4°, 20.8, 20.8 hsl(226.4,20.8%,20.8%)
HSV (or HSB) 226.4°, 34.4, 25.1
Web Safe 333333 #333333
CIE-LAB 19.62, 2.644, -11.41
XYZ 2.897, 2.895, 5.256
xyY 0.262, 0.262, 2.895
CIE-LCH 19.62, 11.713, 283.045
CIE-LUV 19.62, -2.87, -12.42
Hunter-Lab 17.016, 0.608, -6.405
Binary 00101010, 00101111, 01000000

Color Schemes with #2a2f40

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

Alternatives to #2a2f40

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

Similar Colors

#2a2f40 Preview

Text with hexadecimal color #2a2f40

This text has a font color of #2a2f40.

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

This paragraph has a background color of #2a2f40.

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

This element has a border color of #2a2f40.

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

Shades and Tints of #2a2f40

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

Shade Color Variation
Tint Color Variation

Tones of #2a2f40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a2f40 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #2e2f32 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #353949 Protanopia 1% of men
  • #36394a Deuteranopia 1% of men
  • #323b40 Tritanopia 0.001% of the population
Trichromacy
  • #313546 Protanomaly 1% of men, 0.01% of women
  • #323546 Deuteranomaly 6% of men, 0.4% of women
  • #2f3740 Tritanomaly 0.01% of the population