#0240af Color Information

In a RGB color space, hex #0240af is composed of 0.8% red, 25.1% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 98.9% cyan, 63.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 218.5 degrees, a saturation of 97.7% and a lightness of 34.7%. #0240af color hex could be obtained by blending #0480ff with #00005f. Closest websafe color is: #003399.

    • R 1
    • G 25
    • B 69
    RGB color chart
    • C 99
    • M 63
    • Y 0
    • K 31
    CMYK color chart

#0240af color description : Dark blue.

#0240af Color Conversion

The hexadecimal color #0240af has RGB values of R:2, G:64, B:175 and CMYK values of C:0.99, M:0.63, Y:0, K:0.31. Its decimal value is 147631.

Hex triplet 0240af #0240af
RGB Decimal 2, 64, 175 rgb(2,64,175)
RGB Percent 0.8, 25.1, 68.6 rgb(0.8%,25.1%,68.6%)
CMYK 99, 63, 0, 31
HSL 218.5°, 97.7, 34.7 hsl(218.5,97.7%,34.7%)
HSV (or HSB) 218.5°, 98.9, 68.6
Web Safe 003399 #003399
CIE-LAB 31.287, 28.987, -63.312
XYZ 9.595, 6.774, 41.357
xyY 0.166, 0.117, 6.774
CIE-LCH 31.287, 69.633, 294.6
CIE-LUV 31.287, -14.121, -85.092
Hunter-Lab 26.027, 20.256, -75.993
Binary 00000010, 01000000, 10101111

Color Schemes with #0240af

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

Alternatives to #0240af

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

Similar Colors

#0240af Preview

Text with hexadecimal color #0240af

This text has a font color of #0240af.

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

This paragraph has a background color of #0240af.

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

This element has a border color of #0240af.

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

Shades and Tints of #0240af

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

Shade Color Variation
Tint Color Variation

Tones of #0240af

A tone is produced by adding gray to any pure hue. In this case, #54575d is the less saturated color, while #0240af is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #3a3a3a Achromatopsia 0.005% of the population
  • #2f3b51 Atypical Achromatopsia 0.001% of the population
  • #00509d Protanopia 1% of men
  • #005588 Deuteranopia 1% of men
  • #005b5f Tritanopia 0.001% of the population
  • #004aa3 Protanomaly 1% of men, 0.01% of women
  • #004d96 Deuteranomaly 6% of men, 0.4% of women
  • #00517c Tritanomaly 0.01% of the population