#2a0798 Color Information

In a RGB color space, hex #2a0798 is composed of 16.5% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 72.4% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 254.5 degrees, a saturation of 91.2% and a lightness of 31.2%. #2a0798 color hex could be obtained by blending #540eff with #000031. Closest websafe color is: #330099.

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

#2a0798 color description : Dark blue.

#2a0798 Color Conversion

The hexadecimal color #2a0798 has RGB values of R:42, G:7, B:152 and CMYK values of C:0.72, M:0.95, Y:0, K:0.4. Its decimal value is 2754456.

Hex triplet 2a0798 #2a0798
RGB Decimal 42, 7, 152 rgb(42,7,152)
RGB Percent 16.5, 2.7, 59.6 rgb(16.5%,2.7%,59.6%)
CMYK 72, 95, 0, 40
HSL 254.5°, 91.2, 31.2 hsl(254.5,91.2%,31.2%)
HSV (or HSB) 254.5°, 95.4, 59.6
Web Safe 330099 #330099
CIE-LAB 19.683, 52.71, -68.493
XYZ 6.697, 2.911, 29.913
xyY 0.169, 0.074, 2.911
CIE-LCH 19.683, 86.427, 307.581
CIE-LUV 19.683, -1.695, -71.991
Hunter-Lab 17.061, 40.211, -92.008
Binary 00101010, 00000111, 10011000

Color Schemes with #2a0798

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

Alternatives to #2a0798

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

Similar Colors

#2a0798 Preview

Text with hexadecimal color #2a0798

This text has a font color of #2a0798.

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

This paragraph has a background color of #2a0798.

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

This element has a border color of #2a0798.

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

Shades and Tints of #2a0798

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

Shade Color Variation
Tint Color Variation

Tones of #2a0798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a0798 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
  • #222222 Achromatopsia 0.005% of the population
  • #241d3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386e Protanopia 1% of men
  • #003c5f Deuteranopia 1% of men
  • #004043 Tritanopia 0.001% of the population
Trichromacy
  • #0f267d Protanomaly 1% of men, 0.01% of women
  • #0f2873 Deuteranomaly 6% of men, 0.4% of women
  • #0f2b62 Tritanomaly 0.01% of the population