colorhexa.com

#0512a5 hex color

In a RGB color space, hex #0512a5 is composed of 2% red, 7.1% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 89.1% magenta, 0% yellow and 35.3% black. It has a hue angle of 235.1 degrees, a saturation of 94.1% and a lightness of 33.3%. #0512a5 color hex could be obtained by blending #0a24ff with #00004b. Closest websafe color is: #000099.

    • R 2
    • G 7
    • B 65

    RGB color chart

    • C 97
    • M 89
    • Y 0
    • K 35

    CMYK color chart

#0512a5 color description : Dark blue.

The hexadecimal color #0512a5 has RGB values of R:5, G:18, B:165 and CMYK values of C:0.97, M:0.89, Y:0, K:0.35. Its decimal value is 332453.

Hex triplet 0512a5 #0512a5
RGB Decimal 5, 18, 165 rgb(5,18,165)
RGB Percent 2, 7.1, 64.7 rgb(2%,7.1%,64.7%)
CMYK 97, 89, 0, 35
HSL 235.1°, 94.1, 33.3 hsl(235.1,94.1%,33.3%)
HSV (or HSB) 235.1°, 97, 64.7
Web Safe 000099 #000099
CIE-LAB 20.754, 51.846, -74.717
XYZ 7.069, 3.181, 35.837
xyY 0.153, 0.069, 3.181
CIE-LCH 20.754, 90.943, 304.757
CIE-LUV 20.754, -6.37, -78.767
Hunter-Lab 17.835, 39.538, -106.648
Binary 00000101, 00010010, 10100101

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #0512a5

This text has a font color of #0512a5.

<span style="color:#0512a5;">Text here</span>

#0512a5 background color

This paragraph has a background color of #0512a5.

<p style="background-color:#0512a5;">Content here</p>

#0512a5 border color

This element has a border color of #0512a5.

<div style="border:1px solid #0512a5;">Content here</div>

CSS codes

.text {color:#0512a5;}
.background {background-color:#0512a5;}
.border {border:1px solid #0512a5;}

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, #00010d is the darkest color, while #f9f9ff is the lightest one.

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #0512a5 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

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1a1c3a Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003a72 Protanopia 1% of men
  • #003e62 Deuteranopia 1% of men
  • #004245 Tritanopia 0.001% of the population

Trichromacy

  • #012c84 Protanomaly 1% of men, 0.01% of women
  • #012e7a Deuteranomaly 6% of men, 0.4% of women
  • #013168 Tritanomaly 0.01% of the population