#2a5f8c Color Information

In a RGB color space, hex #2a5f8c is composed of 16.5% red, 37.3% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 70% cyan, 32.1% magenta, 0% yellow and 45.1% black. It has a hue angle of 207.6 degrees, a saturation of 53.8% and a lightness of 35.7%. #2a5f8c color hex could be obtained by blending #54beff with #000019. Closest websafe color is: #336699.

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

#2a5f8c color description : Dark blue.

#2a5f8c Color Conversion

The hexadecimal color #2a5f8c has RGB values of R:42, G:95, B:140 and CMYK values of C:0.7, M:0.32, Y:0, K:0.45. Its decimal value is 2776972.

Hex triplet 2a5f8c #2a5f8c
RGB Decimal 42, 95, 140 rgb(42,95,140)
RGB Percent 16.5, 37.3, 54.9 rgb(16.5%,37.3%,54.9%)
CMYK 70, 32, 0, 45
HSL 207.6°, 53.8, 35.7 hsl(207.6,53.8%,35.7%)
HSV (or HSB) 207.6°, 70, 54.9
Web Safe 336699 #336699
CIE-LAB 38.846, -2.108, -30.048
XYZ 9.78, 10.569, 26.334
xyY 0.209, 0.226, 10.569
CIE-LCH 38.846, 30.122, 265.987
CIE-LUV 38.846, -20.035, -42.278
Hunter-Lab 32.511, -3.199, -25.269
Binary 00101010, 01011111, 10001100

Color Schemes with #2a5f8c

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

Alternatives to #2a5f8c

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

Similar Colors

#2a5f8c Preview

Text with hexadecimal color #2a5f8c

This text has a font color of #2a5f8c.

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

This paragraph has a background color of #2a5f8c.

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

This element has a border color of #2a5f8c.

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

Shades and Tints of #2a5f8c

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

Shade Color Variation
Tint Color Variation

Tones of #2a5f8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a5f8c 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
  • #545454 Achromatopsia 0.005% of the population
  • #4c565f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #54628e Protanopia 1% of men
  • #4a6393 Deuteranopia 1% of men
  • #1a6d75 Tritanopia 0.001% of the population
Trichromacy
  • #44618d Protanomaly 1% of men, 0.01% of women
  • #3e6290 Deuteranomaly 6% of men, 0.4% of women
  • #20687d Tritanomaly 0.01% of the population