#042def Color Information

In a RGB color space, hex #042def is composed of 1.6% red, 17.6% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 81.2% magenta, 0% yellow and 6.3% black. It has a hue angle of 229.5 degrees, a saturation of 96.7% and a lightness of 47.6%. #042def color hex could be obtained by blending #085aff with #0000df. Closest websafe color is: #0033ff.

    • R 2
    • G 18
    • B 94
    RGB color chart
    • C 98
    • M 81
    • Y 0
    • K 6
    CMYK color chart

#042def color description : Vivid blue.

#042def Color Conversion

The hexadecimal color #042def has RGB values of R:4, G:45, B:239 and CMYK values of C:0.98, M:0.81, Y:0, K:0.06. Its decimal value is 273903.

Hex triplet 042def #042def
RGB Decimal 4, 45, 239 rgb(4,45,239)
RGB Percent 1.6, 17.6, 93.7 rgb(1.6%,17.6%,93.7%)
CMYK 98, 81, 0, 6
HSL 229.5°, 96.7, 47.6 hsl(229.5,96.7%,47.6%)
HSV (or HSB) 229.5°, 98.3, 93.7
Web Safe 0033ff #0033ff
CIE-LAB 34.259, 62.658, -95.57
XYZ 16.565, 8.133, 82.353
xyY 0.155, 0.076, 8.133
CIE-LCH 34.259, 114.279, 303.25
CIE-LUV 34.259, -11.585, -124.041
Hunter-Lab 28.519, 53.775, -151.248
Binary 00000100, 00101101, 11101111

Color Schemes with #042def

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

Alternatives to #042def

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

Similar Colors

#042def Preview

Text with hexadecimal color #042def

This text has a font color of #042def.

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

This paragraph has a background color of #042def.

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

This element has a border color of #042def.

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

Shades and Tints of #042def

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

Shade Color Variation
Tint Color Variation

Tones of #042def

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #042def 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
  • #373737 Achromatopsia 0.005% of the population
  • #2d355c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0057a9 Protanopia 1% of men
  • #005c91 Deuteranopia 1% of men
  • #006266 Tritanopia 0.001% of the population
Trichromacy
  • #0147c2 Protanomaly 1% of men, 0.01% of women
  • #014bb3 Deuteranomaly 6% of men, 0.4% of women
  • #014f98 Tritanomaly 0.01% of the population