#04217f Color Information

In a RGB color space, hex #04217f is composed of 1.6% red, 12.9% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 74% magenta, 0% yellow and 50.2% black. It has a hue angle of 225.9 degrees, a saturation of 93.9% and a lightness of 25.7%. #04217f color hex could be obtained by blending #0842fe with #000000. Closest websafe color is: #003366.

    • R 2
    • G 13
    • B 50
    RGB color chart
    • C 97
    • M 74
    • Y 0
    • K 50
    CMYK color chart

#04217f color description : Dark blue.

#04217f Color Conversion

The hexadecimal color #04217f has RGB values of R:4, G:33, B:127 and CMYK values of C:0.97, M:0.74, Y:0, K:0.5. Its decimal value is 270719.

Hex triplet 04217f #04217f
RGB Decimal 4, 33, 127 rgb(4,33,127)
RGB Percent 1.6, 12.9, 49.8 rgb(1.6%,12.9%,49.8%)
CMYK 97, 74, 0, 50
HSL 225.9°, 93.9, 25.7 hsl(225.9,93.9%,25.7%)
HSV (or HSB) 225.9°, 96.9, 49.8
Web Safe 003366 #003366
CIE-LAB 18.564, 30.873, -54.765
XYZ 4.424, 2.645, 20.355
xyY 0.161, 0.096, 2.645
CIE-LCH 18.564, 62.867, 299.412
CIE-LUV 18.564, -7.14, -58.391
Hunter-Lab 16.265, 20.087, -62.814
Binary 00000100, 00100001, 01111111

Color Schemes with #04217f

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

Alternatives to #04217f

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

Similar Colors

#04217f Preview

Text with hexadecimal color #04217f

This text has a font color of #04217f.

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

This paragraph has a background color of #04217f.

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

This element has a border color of #04217f.

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

Shades and Tints of #04217f

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, #00030d is the darkest color, while #f9faff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #04217f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04217f 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
  • #232323 Achromatopsia 0.005% of the population
  • #1d2335 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00366a Protanopia 1% of men
  • #00395b Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population
Trichromacy
  • #012e71 Protanomaly 1% of men, 0.01% of women
  • #013068 Deuteranomaly 6% of men, 0.4% of women
  • #013357 Tritanomaly 0.01% of the population