#2a5798 Color Information

In a RGB color space, hex #2a5798 is composed of 16.5% red, 34.1% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 72.4% cyan, 42.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 215.5 degrees, a saturation of 56.7% and a lightness of 38%. #2a5798 color hex could be obtained by blending #54aeff with #000031. Closest websafe color is: #336699.

    • R 16
    • G 34
    • B 60
    RGB color chart
    • C 72
    • M 43
    • Y 0
    • K 40
    CMYK color chart

#2a5798 color description : Dark blue.

#2a5798 Color Conversion

The hexadecimal color #2a5798 has RGB values of R:42, G:87, B:152 and CMYK values of C:0.72, M:0.43, Y:0, K:0.4. Its decimal value is 2774936.

Hex triplet 2a5798 #2a5798
RGB Decimal 42, 87, 152 rgb(42,87,152)
RGB Percent 16.5, 34.1, 59.6 rgb(16.5%,34.1%,59.6%)
CMYK 72, 43, 0, 40
HSL 215.5°, 56.7, 38 hsl(215.5,56.7%,38%)
HSV (or HSB) 215.5°, 72.4, 59.6
Web Safe 336699 #336699
CIE-LAB 37.068, 7.529, -40.108
XYZ 10.029, 9.575, 31.024
xyY 0.198, 0.189, 9.575
CIE-LCH 37.068, 40.809, 280.632
CIE-LUV 37.068, -16.982, -57.375
Hunter-Lab 30.943, 3.704, -37.783
Binary 00101010, 01010111, 10011000

Color Schemes with #2a5798

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

Alternatives to #2a5798

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

Similar Colors

#2a5798 Preview

Text with hexadecimal color #2a5798

This text has a font color of #2a5798.

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

This paragraph has a background color of #2a5798.

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

This element has a border color of #2a5798.

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

Shades and Tints of #2a5798

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, #04080e is the darkest color, while #fdfeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #2a5798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a5798 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
  • #515151 Achromatopsia 0.005% of the population
  • #49525f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #425d9b Protanopia 1% of men
  • #2b609c Deuteranopia 1% of men
  • #006970 Tritanopia 0.001% of the population
Trichromacy
  • #395b9a Protanomaly 1% of men, 0.01% of women
  • #2a5d9b Deuteranomaly 6% of men, 0.4% of women
  • #0f627e Tritanomaly 0.01% of the population