#04158d Color Information

In a RGB color space, hex #04158d is composed of 1.6% red, 8.2% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 85.1% magenta, 0% yellow and 44.7% black. It has a hue angle of 232.6 degrees, a saturation of 94.5% and a lightness of 28.4%. #04158d color hex could be obtained by blending #082aff with #00001b. 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

#04158d color description : Dark blue.

#04158d Color Conversion

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

Hex triplet 04158d #04158d
RGB Decimal 4, 21, 141 rgb(4,21,141)
RGB Percent 1.6, 8.2, 55.3 rgb(1.6%,8.2%,55.3%)
CMYK 97, 85, 0, 45
HSL 232.6°, 94.5, 28.4 hsl(232.6,94.5%,28.4%)
HSV (or HSB) 232.6°, 97.2, 55.3
Web Safe 000099 #000099
CIE-LAB 17.85, 42.991, -64.768
XYZ 5.125, 2.485, 25.407
xyY 0.155, 0.075, 2.485
CIE-LCH 17.85, 77.737, 303.575
CIE-LUV 17.85, -5.806, -64.928
Hunter-Lab 15.763, 30.448, -84.529
Binary 00000100, 00010101, 10001101

Color Schemes with #04158d

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

Alternatives to #04158d

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

Similar Colors

#04158d Preview

Text with hexadecimal color #04158d

This text has a font color of #04158d.

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

This paragraph has a background color of #04158d.

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

This element has a border color of #04158d.

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

Shades and Tints of #04158d

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

Shade Color Variation
Tint Color Variation

Tones of #04158d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04158d 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #191c34 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003567 Protanopia 1% of men
  • #003858 Deuteranopia 1% of men
  • #003c3e Tritanopia 0.001% of the population
Trichromacy
  • #012974 Protanomaly 1% of men, 0.01% of women
  • #012b6b Deuteranomaly 6% of men, 0.4% of women
  • #012d5b Tritanomaly 0.01% of the population