#04018f Color Information

In a RGB color space, hex #04018f is composed of 1.6% red, 0.4% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 99.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 241.3 degrees, a saturation of 98.6% and a lightness of 28.2%. #04018f color hex could be obtained by blending #0802ff with #00001f. Closest websafe color is: #000099.

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

#04018f color description : Dark blue.

#04018f Color Conversion

The hexadecimal color #04018f has RGB values of R:4, G:1, B:143 and CMYK values of C:0.97, M:0.99, Y:0, K:0.44. Its decimal value is 262543.

Hex triplet 04018f #04018f
RGB Decimal 4, 1, 143 rgb(4,1,143)
RGB Percent 1.6, 0.4, 56.1 rgb(1.6%,0.4%,56.1%)
CMYK 97, 99, 0, 44
HSL 241.3°, 98.6, 28.2 hsl(241.3,98.6%,28.2%)
HSV (or HSB) 241.3°, 99.3, 56.1
Web Safe 000099 #000099
CIE-LAB 15.645, 51.167, -69.697
XYZ 5.018, 2.03, 26.113
xyY 0.151, 0.061, 2.03
CIE-LCH 15.645, 86.463, 306.284
CIE-LUV 15.645, -4.369, -62.6
Hunter-Lab 14.249, 37.925, -98.681
Binary 00000100, 00000001, 10001111

Color Schemes with #04018f

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

Alternatives to #04018f

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

Similar Colors

#04018f Preview

Text with hexadecimal color #04018f

This text has a font color of #04018f.

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

This paragraph has a background color of #04018f.

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

This element has a border color of #04018f.

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

Shades and Tints of #04018f

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

Shade Color Variation
Tint Color Variation

Tones of #04018f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04018f 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.

  • #121212 Achromatopsia 0.005% of the population
  • #0f0f2b Atypical Achromatopsia 0.001% of the population
  • #00305e Protanopia 1% of men
  • #003351 Deuteranopia 1% of men
  • #003739 Tritanopia 0.001% of the population
  • #011f70 Protanomaly 1% of men, 0.01% of women
  • #012167 Deuteranomaly 6% of men, 0.4% of women
  • #012358 Tritanomaly 0.01% of the population