#04157e Color Information

In a RGB color space, hex #04157e is composed of 1.6% red, 8.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 83.3% magenta, 0% yellow and 50.6% black. It has a hue angle of 231.6 degrees, a saturation of 93.8% and a lightness of 25.5%. #04157e color hex could be obtained by blending #082afc with #000000. Closest websafe color is: #000066.

    • R 2
    • G 8
    • B 49
    RGB color chart
    • C 97
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#04157e color description : Dark blue.

#04157e Color Conversion

The hexadecimal color #04157e has RGB values of R:4, G:21, B:126 and CMYK values of C:0.97, M:0.83, Y:0, K:0.51. Its decimal value is 267646.

Hex triplet 04157e #04157e
RGB Decimal 4, 21, 126 rgb(4,21,126)
RGB Percent 1.6, 8.2, 49.4 rgb(1.6%,8.2%,49.4%)
CMYK 97, 83, 0, 51
HSL 231.6°, 93.8, 25.5 hsl(231.6,93.8%,25.5%)
HSV (or HSB) 231.6°, 96.8, 49.4
Web Safe 000066 #000066
CIE-LAB 15.841, 37.872, -58.642
XYZ 4.083, 2.068, 19.921
xyY 0.157, 0.079, 2.068
CIE-LCH 15.841, 69.808, 302.855
CIE-LUV 15.841, -5.287, -56.042
Hunter-Lab 14.381, 25.516, -72.065
Binary 00000100, 00010101, 01111110

Color Schemes with #04157e

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

Alternatives to #04157e

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

Similar Colors

#04157e Preview

Text with hexadecimal color #04157e

This text has a font color of #04157e.

<span style="color:#04157e;">Text here</span>
#04157e background color

This paragraph has a background color of #04157e.

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

This element has a border color of #04157e.

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

Shades and Tints of #04157e

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, #00020c is the darkest color, while #f8f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #04157e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04157e 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #171b30 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00315f Protanopia 1% of men
  • #003452 Deuteranopia 1% of men
  • #00373a Tritanopia 0.001% of the population
Trichromacy
  • #01266a Protanomaly 1% of men, 0.01% of women
  • #012862 Deuteranomaly 6% of men, 0.4% of women
  • #012b52 Tritanomaly 0.01% of the population