#040def Color Information

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

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

#040def color description : Vivid blue.

#040def Color Conversion

The hexadecimal color #040def has RGB values of R:4, G:13, B:239 and CMYK values of C:0.98, M:0.95, Y:0, K:0.06. Its decimal value is 265711.

Hex triplet 040def #040def
RGB Decimal 4, 13, 239 rgb(4,13,239)
RGB Percent 1.6, 5.1, 93.7 rgb(1.6%,5.1%,93.7%)
CMYK 98, 95, 0, 6
HSL 237.7°, 96.7, 47.6 hsl(237.7,96.7%,47.6%)
HSV (or HSB) 237.7°, 98.3, 93.7
Web Safe 0000ff #0000ff
CIE-LAB 30.746, 73.26, -101.431
XYZ 15.771, 6.544, 82.089
xyY 0.151, 0.063, 6.544
CIE-LCH 30.746, 125.121, 305.839
CIE-LUV 30.746, -9.076, -121.837
Hunter-Lab 25.582, 65.274, -172.345
Binary 00000100, 00001101, 11101111

Color Schemes with #040def

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

Alternatives to #040def

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

Similar Colors

#040def Preview

Text with hexadecimal color #040def

This text has a font color of #040def.

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

This paragraph has a background color of #040def.

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

This element has a border color of #040def.

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

Shades and Tints of #040def

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 #f3f4ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040def

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040def 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
  • #242424 Achromatopsia 0.005% of the population
  • #1e1f4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005484 Deuteranopia 1% of men
  • #005a5d Tritanopia 0.001% of the population
Trichromacy
  • #0137b9 Protanomaly 1% of men, 0.01% of women
  • #013aab Deuteranomaly 6% of men, 0.4% of women
  • #013e92 Tritanomaly 0.01% of the population