#0504b2 Color Information

In a RGB color space, hex #0504b2 is composed of 2% red, 1.6% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 97.8% magenta, 0% yellow and 30.2% black. It has a hue angle of 240.3 degrees, a saturation of 95.6% and a lightness of 35.7%. #0504b2 color hex could be obtained by blending #0a08ff with #000065. Closest websafe color is: #000099.

    • R 2
    • G 2
    • B 70
    RGB color chart
    • C 97
    • M 98
    • Y 0
    • K 30
    CMYK color chart

#0504b2 color description : Dark blue.

#0504b2 Color Conversion

The hexadecimal color #0504b2 has RGB values of R:5, G:4, B:178 and CMYK values of C:0.97, M:0.98, Y:0, K:0.3. Its decimal value is 328882.

Hex triplet 0504b2 #0504b2
RGB Decimal 5, 4, 178 rgb(5,4,178)
RGB Percent 2, 1.6, 69.8 rgb(2%,1.6%,69.8%)
CMYK 97, 98, 0, 30
HSL 240.3°, 95.6, 35.7 hsl(240.3,95.6%,35.7%)
HSV (or HSB) 240.3°, 97.8, 69.8
Web Safe 000099 #000099
CIE-LAB 21.33, 59.489, -81.607
XYZ 8.14, 3.333, 42.331
xyY 0.151, 0.062, 3.333
CIE-LCH 21.33, 100.989, 306.091
CIE-LUV 21.33, -6.088, -84.938
Hunter-Lab 18.256, 47.645, -124.7
Binary 00000101, 00000100, 10110010

Color Schemes with #0504b2

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

Alternatives to #0504b2

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

Similar Colors

#0504b2 Preview

Text with hexadecimal color #0504b2

This text has a font color of #0504b2.

<span style="color:#0504b2;">Text here</span>
#0504b2 background color

This paragraph has a background color of #0504b2.

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

This element has a border color of #0504b2.

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

Shades and Tints of #0504b2

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

Shade Color Variation
Tint Color Variation

Tones of #0504b2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0504b2 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
  • #181818 Achromatopsia 0.005% of the population
  • #141437 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #004446 Tritanopia 0.001% of the population
Trichromacy
  • #01278a Protanomaly 1% of men, 0.01% of women
  • #012a80 Deuteranomaly 6% of men, 0.4% of women
  • #012c6d Tritanomaly 0.01% of the population