#04157d Color Information

In a RGB color space, hex #04157d is composed of 1.6% red, 8.2% green and 49% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 83.2% magenta, 0% yellow and 51% black. It has a hue angle of 231.6 degrees, a saturation of 93.8% and a lightness of 25.3%. #04157d color hex could be obtained by blending #082afa 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

#04157d color description : Dark blue.

#04157d Color Conversion

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

Hex triplet 04157d #04157d
RGB Decimal 4, 21, 125 rgb(4,21,125)
RGB Percent 1.6, 8.2, 49 rgb(1.6%,8.2%,49%)
CMYK 97, 83, 0, 51
HSL 231.6°, 93.8, 25.3 hsl(231.6,93.8%,25.3%)
HSV (or HSB) 231.6°, 96.8, 49
Web Safe 000066 #000066
CIE-LAB 15.709, 37.52, -58.224
XYZ 4.019, 2.042, 19.583
xyY 0.157, 0.08, 2.042
CIE-LCH 15.709, 69.266, 302.798
CIE-LUV 15.709, -5.253, -55.451
Hunter-Lab 14.292, 25.188, -71.239
Binary 00000100, 00010101, 01111101

Color Schemes with #04157d

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

Alternatives to #04157d

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

Similar Colors

#04157d Preview

Text with hexadecimal color #04157d

This text has a font color of #04157d.

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

This paragraph has a background color of #04157d.

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

This element has a border color of #04157d.

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

Shades and Tints of #04157d

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

Shade Color Variation
Tint Color Variation

Tones of #04157d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04157d 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
  • #171b2f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00315f Protanopia 1% of men
  • #003352 Deuteranopia 1% of men
  • #003739 Tritanopia 0.001% of the population
Trichromacy
  • #012669 Protanomaly 1% of men, 0.01% of women
  • #012861 Deuteranomaly 6% of men, 0.4% of women
  • #012a52 Tritanomaly 0.01% of the population