#04157b Color Information

In a RGB color space, hex #04157b is composed of 1.6% red, 8.2% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 82.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 231.4 degrees, a saturation of 93.7% and a lightness of 24.9%. #04157b color hex could be obtained by blending #082af6 with #000000. Closest websafe color is: #000066.

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

#04157b color description : Dark blue.

#04157b Color Conversion

The hexadecimal color #04157b has RGB values of R:4, G:21, B:123 and CMYK values of C:0.97, M:0.83, Y:0, K:0.52. Its decimal value is 267643.

Hex triplet 04157b #04157b
RGB Decimal 4, 21, 123 rgb(4,21,123)
RGB Percent 1.6, 8.2, 48.2 rgb(1.6%,8.2%,48.2%)
CMYK 97, 83, 0, 52
HSL 231.4°, 93.7, 24.9 hsl(231.4,93.7%,24.9%)
HSV (or HSB) 231.4°, 96.7, 48.2
Web Safe 000066 #000066
CIE-LAB 15.445, 36.811, -57.384
XYZ 3.893, 1.992, 18.917
xyY 0.157, 0.08, 1.992
CIE-LCH 15.445, 68.176, 302.679
CIE-LUV 15.445, -5.186, -54.27
Hunter-Lab 14.113, 24.534, -69.591
Binary 00000100, 00010101, 01111011

Color Schemes with #04157b

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

Alternatives to #04157b

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

Similar Colors

#04157b Preview

Text with hexadecimal color #04157b

This text has a font color of #04157b.

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

This paragraph has a background color of #04157b.

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

This element has a border color of #04157b.

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

Shades and Tints of #04157b

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

Shade Color Variation
Tint Color Variation

Tones of #04157b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04157b 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
  • #003639 Tritanopia 0.001% of the population
Trichromacy
  • #012668 Protanomaly 1% of men, 0.01% of women
  • #012860 Deuteranomaly 6% of men, 0.4% of women
  • #012a51 Tritanomaly 0.01% of the population