#2a51a5 Color Information

In a RGB color space, hex #2a51a5 is composed of 16.5% red, 31.8% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 74.5% cyan, 50.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 221 degrees, a saturation of 59.4% and a lightness of 40.6%. #2a51a5 color hex could be obtained by blending #54a2ff with #00004b. Closest websafe color is: #336699.

    • R 16
    • G 32
    • B 65
    RGB color chart
    • C 75
    • M 51
    • Y 0
    • K 35
    CMYK color chart

#2a51a5 color description : Dark blue.

#2a51a5 Color Conversion

The hexadecimal color #2a51a5 has RGB values of R:42, G:81, B:165 and CMYK values of C:0.75, M:0.51, Y:0, K:0.35. Its decimal value is 2773413.

Hex triplet 2a51a5 #2a51a5
RGB Decimal 42, 81, 165 rgb(42,81,165)
RGB Percent 16.5, 31.8, 64.7 rgb(16.5%,31.8%,64.7%)
CMYK 75, 51, 0, 35
HSL 221°, 59.4, 40.6 hsl(221,59.4%,40.6%)
HSV (or HSB) 221°, 74.5, 64.7
Web Safe 336699 #336699
CIE-LAB 36.163, 16.492, -49.361
XYZ 10.687, 9.093, 36.787
xyY 0.189, 0.161, 9.093
CIE-LCH 36.163, 52.044, 288.475
CIE-LUV 36.163, -14.943, -70.731
Hunter-Lab 30.155, 10.493, -51.223
Binary 00101010, 01010001, 10100101

Color Schemes with #2a51a5

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

Alternatives to #2a51a5

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

Similar Colors

#2a51a5 Preview

Text with hexadecimal color #2a51a5

This text has a font color of #2a51a5.

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

This paragraph has a background color of #2a51a5.

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

This element has a border color of #2a51a5.

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

Shades and Tints of #2a51a5

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

Shade Color Variation
Tint Color Variation

Tones of #2a51a5

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

Tone Color Variation

Color Blindness Simulator

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

  • #4f4f4f Achromatopsia 0.005% of the population
  • #484f60 Atypical Achromatopsia 0.001% of the population
  • #285baa Protanopia 1% of men
  • #005f9d Deuteranopia 1% of men
  • #00676d Tritanopia 0.001% of the population
  • #2957a8 Protanomaly 1% of men, 0.01% of women
  • #0f5aa0 Deuteranomaly 6% of men, 0.4% of women
  • #0f5f81 Tritanomaly 0.01% of the population