#04228a Color Information

In a RGB color space, hex #04228a is composed of 1.6% red, 13.3% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 75.4% magenta, 0% yellow and 45.9% black. It has a hue angle of 226.6 degrees, a saturation of 94.4% and a lightness of 27.8%. #04228a color hex could be obtained by blending #0844ff with #000015. Closest websafe color is: #003399.

    • R 2
    • G 13
    • B 54
    RGB color chart
    • C 97
    • M 75
    • Y 0
    • K 46
    CMYK color chart

#04228a color description : Dark blue.

#04228a Color Conversion

The hexadecimal color #04228a has RGB values of R:4, G:34, B:138 and CMYK values of C:0.97, M:0.75, Y:0, K:0.46. Its decimal value is 270986.

Hex triplet 04228a #04228a
RGB Decimal 4, 34, 138 rgb(4,34,138)
RGB Percent 1.6, 13.3, 54.1 rgb(1.6%,13.3%,54.1%)
CMYK 97, 75, 0, 46
HSL 226.6°, 94.4, 27.8 hsl(226.6,94.4%,27.8%)
HSV (or HSB) 226.6°, 97.1, 54.1
Web Safe 003399 #003399
CIE-LAB 20.062, 34.479, -59.22
XYZ 5.209, 3.004, 24.349
xyY 0.16, 0.092, 3.004
CIE-LCH 20.062, 68.526, 300.209
CIE-LUV 20.062, -7.536, -64.958
Hunter-Lab 17.333, 23.306, -71.154
Binary 00000100, 00100010, 10001010

Color Schemes with #04228a

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

Alternatives to #04228a

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

Similar Colors

#04228a Preview

Text with hexadecimal color #04228a

This text has a font color of #04228a.

<span style="color:#04228a;">Text here</span>
#04228a background color

This paragraph has a background color of #04228a.

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

This element has a border color of #04228a.

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

Shades and Tints of #04228a

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

Shade Color Variation
Tint Color Variation

Tones of #04228a

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

Tone Color Variation

Color Blindness Simulator

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

  • #252525 Achromatopsia 0.005% of the population
  • #1e2439 Atypical Achromatopsia 0.001% of the population
  • #00396f Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
  • #013079 Protanomaly 1% of men, 0.01% of women
  • #01336f Deuteranomaly 6% of men, 0.4% of women
  • #01355d Tritanomaly 0.01% of the population