#0505a1 Color Information

In a RGB color space, hex #0505a1 is composed of 2% red, 2% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 96.9% magenta, 0% yellow and 36.9% black. It has a hue angle of 240 degrees, a saturation of 94% and a lightness of 32.5%. #0505a1 color hex could be obtained by blending #0a0aff with #000043. Closest websafe color is: #000099.

    • R 2
    • G 2
    • B 63
    RGB color chart
    • C 97
    • M 97
    • Y 0
    • K 37
    CMYK color chart

#0505a1 color description : Dark blue.

#0505a1 Color Conversion

The hexadecimal color #0505a1 has RGB values of R:5, G:5, B:161 and CMYK values of C:0.97, M:0.97, Y:0, K:0.37. Its decimal value is 329121.

Hex triplet 0505a1 #0505a1
RGB Decimal 5, 5, 161 rgb(5,5,161)
RGB Percent 2, 2, 63.1 rgb(2%,2%,63.1%)
CMYK 97, 97, 0, 37
HSL 240°, 94, 32.5 hsl(240,94%,32.5%)
HSV (or HSB) 240°, 96.9, 63.1
Web Safe 000099 #000099
CIE-LAB 18.858, 54.728, -75.447
XYZ 6.549, 2.714, 33.895
xyY 0.152, 0.063, 2.714
CIE-LCH 18.858, 93.206, 305.957
CIE-LUV 18.858, -5.384, -74.615
Hunter-Lab 16.473, 42.134, -110.466
Binary 00000101, 00000101, 10100001

Color Schemes with #0505a1

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

Alternatives to #0505a1

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

Similar Colors

#0505a1 Preview

Text with hexadecimal color #0505a1

This text has a font color of #0505a1.

<span style="color:#0505a1;">Text here</span>
#0505a1 background color

This paragraph has a background color of #0505a1.

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

This element has a border color of #0505a1.

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

Shades and Tints of #0505a1

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

Shade Color Variation
Tint Color Variation

Tones of #0505a1

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

Tone Color Variation

Color Blindness Simulator

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

  • #171717 Achromatopsia 0.005% of the population
  • #131333 Atypical Achromatopsia 0.001% of the population
  • #00376a Protanopia 1% of men
  • #003a5c Deuteranopia 1% of men
  • #003e40 Tritanopia 0.001% of the population
  • #01247e Protanomaly 1% of men, 0.01% of women
  • #012775 Deuteranomaly 6% of men, 0.4% of women
  • #012963 Tritanomaly 0.01% of the population