#040238 Color Information

In a RGB color space, hex #040238 is composed of 1.6% red, 0.8% green and 22% blue. Whereas in a CMYK color space, it is composed of 92.9% cyan, 96.4% magenta, 0% yellow and 78% black. It has a hue angle of 242.2 degrees, a saturation of 93.1% and a lightness of 11.4%. #040238 color hex could be obtained by blending #080470 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 1
    • B 22
    RGB color chart
    • C 93
    • M 96
    • Y 0
    • K 78
    CMYK color chart

#040238 color description : Very dark blue.

#040238 Color Conversion

The hexadecimal color #040238 has RGB values of R:4, G:2, B:56 and CMYK values of C:0.93, M:0.96, Y:0, K:0.78. Its decimal value is 262712.

Hex triplet 040238 #040238
RGB Decimal 4, 2, 56 rgb(4,2,56)
RGB Percent 1.6, 0.8, 22 rgb(1.6%,0.8%,22%)
CMYK 93, 96, 0, 78
HSL 242.2°, 93.1, 11.4 hsl(242.2,93.1%,11.4%)
HSV (or HSB) 242.2°, 96.4, 22
Web Safe 000033 #000033
CIE-LAB 3.204, 18.365, -32.066
XYZ 0.785, 0.355, 3.768
xyY 0.16, 0.072, 0.355
CIE-LCH 3.204, 36.953, 299.801
CIE-LUV 3.204, -0.724, -11.87
Hunter-Lab 5.956, 13.119, -33.345
Binary 00000100, 00000010, 00111000

Color Schemes with #040238

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

Alternatives to #040238

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

Similar Colors

#040238 Preview

Text with hexadecimal color #040238

This text has a font color of #040238.

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

This paragraph has a background color of #040238.

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

This element has a border color of #040238.

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

Shades and Tints of #040238

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

Shade Color Variation
Tint Color Variation

Tones of #040238

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040238 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
  • #090909 Achromatopsia 0.005% of the population
  • #080812 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00172d Protanopia 1% of men
  • #001927 Deuteranopia 1% of men
  • #001a1b Tritanopia 0.001% of the population
Trichromacy
  • #010f31 Protanomaly 1% of men, 0.01% of women
  • #01102d Deuteranomaly 6% of men, 0.4% of women
  • #011126 Tritanomaly 0.01% of the population