#1f40ff Color Information

In a RGB color space, hex #1f40ff is composed of 12.2% red, 25.1% green and 100% blue. Whereas in a CMYK color space, it is composed of 87.8% cyan, 74.9% magenta, 0% yellow and 0% black. It has a hue angle of 231.2 degrees, a saturation of 100% and a lightness of 56.1%. #1f40ff color hex could be obtained by blending #3e80ff with #0000ff. Closest websafe color is: #3333ff.

    • R 12
    • G 25
    • B 100
    RGB color chart
    • C 88
    • M 75
    • Y 0
    • K 0
    CMYK color chart

#1f40ff color description : Vivid blue.

#1f40ff Color Conversion

The hexadecimal color #1f40ff has RGB values of R:31, G:64, B:255 and CMYK values of C:0.88, M:0.75, Y:0, K:0. Its decimal value is 2048255.

Hex triplet 1f40ff #1f40ff
RGB Decimal 31, 64, 255 rgb(31,64,255)
RGB Percent 12.2, 25.1, 100 rgb(12.2%,25.1%,100%)
CMYK 88, 75, 0, 0
HSL 231.2°, 100, 56.1 hsl(231.2,100%,56.1%)
HSV (or HSB) 231.2°, 87.8, 100
Web Safe 3333ff #3333ff
CIE-LAB 39.876, 58.738, -95.228
XYZ 20.445, 11.177, 95.682
xyY 0.161, 0.088, 11.177
CIE-LCH 39.876, 111.887, 301.667
CIE-LUV 39.876, -13.335, -133.036
Hunter-Lab 33.431, 50.656, -146.289
Binary 00011111, 01000000, 11111111

Color Schemes with #1f40ff

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

Alternatives to #1f40ff

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

Similar Colors

#1f40ff Preview

Text with hexadecimal color #1f40ff

This text has a font color of #1f40ff.

<span style="color:#1f40ff;">Text here</span>
#1f40ff background color

This paragraph has a background color of #1f40ff.

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

This element has a border color of #1f40ff.

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

Shades and Tints of #1f40ff

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

Shade Color Variation
Tint Color Variation

Tones of #1f40ff

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

Tone Color Variation

Color Blindness Simulator

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

  • #4c4c4c Achromatopsia 0.005% of the population
  • #434a70 Atypical Achromatopsia 0.001% of the population
  • #0063c1 Protanopia 1% of men
  • #0069a7 Deuteranopia 1% of men
  • #007075 Tritanopia 0.001% of the population
  • #0b56d7 Protanomaly 1% of men, 0.01% of women
  • #0b5ac7 Deuteranomaly 6% of men, 0.4% of women
  • #0b5ea7 Tritanomaly 0.01% of the population