#04158f Color Information

In a RGB color space, hex #04158f is composed of 1.6% red, 8.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 85.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 232.7 degrees, a saturation of 94.6% and a lightness of 28.8%. #04158f color hex could be obtained by blending #082aff with #00001f. Closest websafe color is: #000099.

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

#04158f color description : Dark blue.

#04158f Color Conversion

The hexadecimal color #04158f has RGB values of R:4, G:21, B:143 and CMYK values of C:0.97, M:0.85, Y:0, K:0.44. Its decimal value is 267663.

Hex triplet 04158f #04158f
RGB Decimal 4, 21, 143 rgb(4,21,143)
RGB Percent 1.6, 8.2, 56.1 rgb(1.6%,8.2%,56.1%)
CMYK 97, 85, 0, 44
HSL 232.7°, 94.6, 28.8 hsl(232.7,94.6%,28.8%)
HSV (or HSB) 232.7°, 97.2, 56.1
Web Safe 000099 #000099
CIE-LAB 18.12, 43.652, -65.566
XYZ 5.275, 2.545, 26.198
xyY 0.155, 0.075, 2.545
CIE-LCH 18.12, 78.768, 303.654
CIE-LUV 18.12, -5.876, -66.115
Hunter-Lab 15.953, 31.108, -86.202
Binary 00000100, 00010101, 10001111

Color Schemes with #04158f

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

Alternatives to #04158f

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

Similar Colors

#04158f Preview

Text with hexadecimal color #04158f

This text has a font color of #04158f.

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

This paragraph has a background color of #04158f.

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

This element has a border color of #04158f.

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

Shades and Tints of #04158f

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

Shade Color Variation
Tint Color Variation

Tones of #04158f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04158f 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
  • #191c35 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #003c3f Tritanopia 0.001% of the population
Trichromacy
  • #012976 Protanomaly 1% of men, 0.01% of women
  • #012b6d Deuteranomaly 6% of men, 0.4% of women
  • #012e5c Tritanomaly 0.01% of the population