#04158b Color Information

In a RGB color space, hex #04158b is composed of 1.6% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 232.4 degrees, a saturation of 94.4% and a lightness of 28%. #04158b color hex could be obtained by blending #082aff with #000017. Closest websafe color is: #000099.

    • R 2
    • G 8
    • B 55
    RGB color chart
    • C 97
    • M 85
    • Y 0
    • K 45
    CMYK color chart

#04158b color description : Dark blue.

#04158b Color Conversion

The hexadecimal color #04158b has RGB values of R:4, G:21, B:139 and CMYK values of C:0.97, M:0.85, Y:0, K:0.45. Its decimal value is 267659.

Hex triplet 04158b #04158b
RGB Decimal 4, 21, 139 rgb(4,21,139)
RGB Percent 1.6, 8.2, 54.5 rgb(1.6%,8.2%,54.5%)
CMYK 97, 85, 0, 45
HSL 232.4°, 94.4, 28 hsl(232.4,94.4%,28%)
HSV (or HSB) 232.4°, 97.1, 54.5
Web Safe 000099 #000099
CIE-LAB 17.58, 42.325, -63.966
XYZ 4.977, 2.426, 24.631
xyY 0.155, 0.076, 2.426
CIE-LCH 17.58, 76.701, 303.492
CIE-LUV 17.58, -5.735, -63.742
Hunter-Lab 15.575, 29.789, -82.859
Binary 00000100, 00010101, 10001011

Color Schemes with #04158b

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

Alternatives to #04158b

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

Similar Colors

#04158b Preview

Text with hexadecimal color #04158b

This text has a font color of #04158b.

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

This paragraph has a background color of #04158b.

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

This element has a border color of #04158b.

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

Shades and Tints of #04158b

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

Shade Color Variation
Tint Color Variation

Tones of #04158b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04158b 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #181b33 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003466 Protanopia 1% of men
  • #003758 Deuteranopia 1% of men
  • #003b3e Tritanopia 0.001% of the population
Trichromacy
  • #012973 Protanomaly 1% of men, 0.01% of women
  • #012b6a Deuteranomaly 6% of men, 0.4% of women
  • #012d5a Tritanomaly 0.01% of the population