#04157c Color Information

In a RGB color space, hex #04157c is composed of 1.6% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 231.5 degrees, a saturation of 93.8% and a lightness of 25.1%. #04157c color hex could be obtained by blending #082af8 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

#04157c color description : Dark blue.

#04157c Color Conversion

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

Hex triplet 04157c #04157c
RGB Decimal 4, 21, 124 rgb(4,21,124)
RGB Percent 1.6, 8.2, 48.6 rgb(1.6%,8.2%,48.6%)
CMYK 97, 83, 0, 51
HSL 231.5°, 93.8, 25.1 hsl(231.5,93.8%,25.1%)
HSV (or HSB) 231.5°, 96.8, 48.6
Web Safe 000066 #000066
CIE-LAB 15.577, 37.166, -57.805
XYZ 3.956, 2.017, 19.249
xyY 0.157, 0.08, 2.017
CIE-LCH 15.577, 68.722, 302.739
CIE-LUV 15.577, -5.22, -54.861
Hunter-Lab 14.202, 24.861, -70.414
Binary 00000100, 00010101, 01111100

Color Schemes with #04157c

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

Alternatives to #04157c

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

Similar Colors

#04157c Preview

Text with hexadecimal color #04157c

This text has a font color of #04157c.

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

This paragraph has a background color of #04157c.

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

This element has a border color of #04157c.

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

Shades and Tints of #04157c

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

Shade Color Variation
Tint Color Variation

Tones of #04157c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04157c 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
  • #00305e Protanopia 1% of men
  • #003351 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
  • #012a51 Tritanomaly 0.01% of the population