#0040f8 Color Information

In a RGB color space, hex #0040f8 is composed of 0% red, 25.1% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 74.2% magenta, 0% yellow and 2.7% black. It has a hue angle of 224.5 degrees, a saturation of 100% and a lightness of 48.6%. #0040f8 color hex could be obtained by blending #0080ff with #0000f1. Closest websafe color is: #0033ff.

    • R 0
    • G 25
    • B 97
    RGB color chart
    • C 100
    • M 74
    • Y 0
    • K 3
    CMYK color chart

#0040f8 color description : Pure (or mostly pure) blue.

#0040f8 Color Conversion

The hexadecimal color #0040f8 has RGB values of R:0, G:64, B:248 and CMYK values of C:1, M:0.74, Y:0, K:0.03. Its decimal value is 16632.

Hex triplet 0040f8 #0040f8
RGB Decimal 0, 64, 248 rgb(0,64,248)
RGB Percent 0, 25.1, 97.3 rgb(0%,25.1%,97.3%)
CMYK 100, 74, 0, 3
HSL 224.5°, 100, 48.6 hsl(224.5,100%,48.6%)
HSV (or HSB) 224.5°, 100, 97.3
Web Safe 0033ff #0033ff
CIE-LAB 38.625, 55.732, -93.396
XYZ 18.773, 10.443, 89.828
xyY 0.158, 0.088, 10.443
CIE-LCH 38.625, 108.761, 300.826
CIE-LUV 38.625, -14.588, -129.092
Hunter-Lab 32.315, 47.148, -142.192
Binary 00000000, 01000000, 11111000

Color Schemes with #0040f8

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

Alternatives to #0040f8

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

Similar Colors

#0040f8 Preview

Text with hexadecimal color #0040f8

This text has a font color of #0040f8.

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

This paragraph has a background color of #0040f8.

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

This element has a border color of #0040f8.

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

Shades and Tints of #0040f8

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

Shade Color Variation
Tint Color Variation

Tones of #0040f8

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

Tone Color Variation

Color Blindness Simulator

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

  • #424242 Achromatopsia 0.005% of the population
  • #354266 Atypical Achromatopsia 0.001% of the population
  • #0060bb Protanopia 1% of men
  • #0066a2 Deuteranopia 1% of men
  • #006d72 Tritanopia 0.001% of the population
  • #0054d1 Protanomaly 1% of men, 0.01% of women
  • #0058c1 Deuteranomaly 6% of men, 0.4% of women
  • #005ca2 Tritanomaly 0.01% of the population