#1240ab Color Information

In a RGB color space, hex #1240ab is composed of 7.1% red, 25.1% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 89.5% cyan, 62.6% magenta, 0% yellow and 32.9% black. It has a hue angle of 222 degrees, a saturation of 81% and a lightness of 37.1%. #1240ab color hex could be obtained by blending #2480ff with #000057. Closest websafe color is: #003399.

    • R 7
    • G 25
    • B 67
    RGB color chart
    • C 89
    • M 63
    • Y 0
    • K 33
    CMYK color chart

#1240ab color description : Dark blue.

#1240ab Color Conversion

The hexadecimal color #1240ab has RGB values of R:18, G:64, B:171 and CMYK values of C:0.89, M:0.63, Y:0, K:0.33. Its decimal value is 1196203.

Hex triplet 1240ab #1240ab
RGB Decimal 18, 64, 171 rgb(18,64,171)
RGB Percent 7.1, 25.1, 67.1 rgb(7.1%,25.1%,67.1%)
CMYK 89, 63, 0, 33
HSL 222°, 81, 37.1 hsl(222,81%,37.1%)
HSV (or HSB) 222°, 89.5, 67.1
Web Safe 003399 #003399
CIE-LAB 31.196, 28.057, -61.062
XYZ 9.432, 6.735, 39.329
xyY 0.17, 0.121, 6.735
CIE-LCH 31.196, 67.199, 294.678
CIE-LUV 31.196, -13.256, -82.325
Hunter-Lab 25.952, 19.459, -71.685
Binary 00010010, 01000000, 10101011

Color Schemes with #1240ab

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

Alternatives to #1240ab

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

Similar Colors

#1240ab Preview

Text with hexadecimal color #1240ab

This text has a font color of #1240ab.

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

This paragraph has a background color of #1240ab.

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

This element has a border color of #1240ab.

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

Shades and Tints of #1240ab

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, #01040b is the darkest color, while #f9fafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1240ab

A tone is produced by adding gray to any pure hue. In this case, #5b5d62 is the less saturated color, while #033aba is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1240ab 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #353e54 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005488 Deuteranopia 1% of men
  • #005b5f Tritanopia 0.001% of the population
Trichromacy
  • #064aa2 Protanomaly 1% of men, 0.01% of women
  • #064d95 Deuteranomaly 6% of men, 0.4% of women
  • #06517b Tritanomaly 0.01% of the population