#1f40ff hex color
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.
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 |
Analogous Color
Split Complementary Color
Triadic Color
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.
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;}
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.
-
#00020b
#00020b
rgb(0,2,11)
-
#00051f
#00051f
rgb(0,5,31)
-
#000733
#000733
rgb(0,7,51)
-
#000a46
#000a46
rgb(0,10,70)
-
#000d5a
#000d5a
rgb(0,13,90)
-
#00106d
#00106d
rgb(0,16,109)
-
#001381
#001381
rgb(0,19,129)
-
#001695
#001695
rgb(0,22,149)
-
#0019a8
#0019a8
rgb(0,25,168)
-
#001cbc
#001cbc
rgb(0,28,188)
-
#001fd0
#001fd0
rgb(0,31,208)
-
#0021e3
#0021e3
rgb(0,33,227)
-
#0024f7
#0024f7
rgb(0,36,247)
Shade Color Variation
-
#0b2fff
#0b2fff
rgb(11,47,255)
-
#1f40ff
#1f40ff
rgb(31,64,255)
-
#3351ff
#3351ff
rgb(51,81,255)
-
#4661ff
#4661ff
rgb(70,97,255)
-
#5a72ff
#5a72ff
rgb(90,114,255)
-
#6d83ff
#6d83ff
rgb(109,131,255)
-
#8194ff
#8194ff
rgb(129,148,255)
-
#95a4ff
#95a4ff
rgb(149,164,255)
-
#a8b5ff
#a8b5ff
rgb(168,181,255)
-
#bcc6ff
#bcc6ff
rgb(188,198,255)
-
#d0d7ff
#d0d7ff
rgb(208,215,255)
-
#e3e7ff
#e3e7ff
rgb(227,231,255)
-
#f7f8ff
#f7f8ff
rgb(247,248,255)
Tint Color Variation
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.
-
#868998
#868998
rgb(134,137,152)
-
#7e83a0
#7e83a0
rgb(126,131,160)
-
#757da9
#757da9
rgb(117,125,169)
-
#6d77b1
#6d77b1
rgb(109,119,177)
-
#6471ba
#6471ba
rgb(100,113,186)
-
#5b6bc3
#5b6bc3
rgb(91,107,195)
-
#5364cb
#5364cb
rgb(83,100,203)
-
#4a5ed4
#4a5ed4
rgb(74,94,212)
-
#4158dd
#4158dd
rgb(65,88,221)
-
#3952e5
#3952e5
rgb(57,82,229)
-
#304cee
#304cee
rgb(48,76,238)
-
#2846f6
#2846f6
rgb(40,70,246)
-
#1f40ff
#1f40ff
rgb(31,64,255)
Tone Color Variation
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.
Monochromacy
Dichromacy