#0840f5 hex color
In a RGB color space, hex #0840f5 is composed of 3.1% red, 25.1% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 73.9% magenta, 0% yellow and 3.9% black. It has a hue angle of 225.8 degrees, a saturation of 93.7% and a lightness of 49.6%. #0840f5 color hex could be obtained by blending #1080ff with #0000eb. Closest websafe color is: #0033ff.
-
- R 3
- G 25
- B 96
RGB color chart
-
- C 97
- M 74
- Y 0
- K 4
CMYK color chart
● #0840f5 color description : Vivid blue.
The hexadecimal color #0840f5 has RGB values of R:8, G:64, B:245 and CMYK values of C:0.97, M:0.74, Y:0, K:0.04. Its decimal value is 540917.
Hex triplet | 0840f5 | #0840f5 |
---|---|---|
RGB Decimal | 8, 64, 245 | rgb(8,64,245) |
RGB Percent | 3.1, 25.1, 96.1 | rgb(3.1%,25.1%,96.1%) |
CMYK | 97, 74, 0, 4 | |
HSL | 225.8°, 93.7, 49.6 | hsl(225.8,93.7%,49.6%) |
HSV (or HSB) | 225.8°, 96.7, 96.1 | |
Web Safe | 0033ff | #0033ff |
CIE-LAB | 38.392, 54.855, -92.093 |
---|---|
XYZ | 18.412, 10.309, 87.401 |
xyY | 0.159, 0.089, 10.309 |
CIE-LCH | 38.392, 107.192, 300.78 |
CIE-LUV | 38.392, -14.293, -127.351 |
Hunter-Lab | 32.108, 46.166, -138.915 |
Binary | 00001000, 01000000, 11110101 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0840f5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0840f5
This text has a font color of #0840f5.
<span style="color:#0840f5;">Text here</span>
#0840f5 background color
This paragraph has a background color of #0840f5.
<p style="background-color:#0840f5;">Content here</p>
#0840f5 border color
This element has a border color of #0840f5.
<div style="border:1px solid #0840f5;">Content here</div>
CSS codes
.text {color:#0840f5;}
.background {background-color:#0840f5;}
.border {border:1px solid #0840f5;}
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, #010411 is the darkest color, while #fdfeff is the lightest one.
-
#010411
#010411
rgb(1,4,17)
-
#010924
#010924
rgb(1,9,36)
-
#020e37
#020e37
rgb(2,14,55)
-
#02134a
#02134a
rgb(2,19,74)
-
#03185d
#03185d
rgb(3,24,93)
-
#041d70
#041d70
rgb(4,29,112)
-
#042283
#042283
rgb(4,34,131)
-
#052796
#052796
rgb(5,39,150)
-
#062ca9
#062ca9
rgb(6,44,169)
-
#0631bc
#0631bc
rgb(6,49,188)
-
#0736cf
#0736cf
rgb(7,54,207)
-
#073be2
#073be2
rgb(7,59,226)
-
#0840f5
#0840f5
rgb(8,64,245)
Shade Color Variation
-
#194ef7
#194ef7
rgb(25,78,247)
-
#2c5cf8
#2c5cf8
rgb(44,92,248)
-
#3f6bf9
#3f6bf9
rgb(63,107,249)
-
#527af9
#527af9
rgb(82,122,249)
-
#6588fa
#6588fa
rgb(101,136,250)
-
#7897fb
#7897fb
rgb(120,151,251)
-
#8ba6fb
#8ba6fb
rgb(139,166,251)
-
#9eb4fc
#9eb4fc
rgb(158,180,252)
-
#b1c3fc
#b1c3fc
rgb(177,195,252)
-
#c4d2fd
#c4d2fd
rgb(196,210,253)
-
#d7e0fe
#d7e0fe
rgb(215,224,254)
-
#eaeffe
#eaeffe
rgb(234,239,254)
-
#fdfeff
#fdfeff
rgb(253,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7d7e80 is the less saturated color, while #0840f5 is the most saturated one.
-
#7d7e80
#7d7e80
rgb(125,126,128)
-
#73788a
#73788a
rgb(115,120,138)
-
#697394
#697394
rgb(105,115,148)
-
#606e9d
#606e9d
rgb(96,110,157)
-
#5669a7
#5669a7
rgb(86,105,167)
-
#4c64b1
#4c64b1
rgb(76,100,177)
-
#425fbb
#425fbb
rgb(66,95,187)
-
#395ac4
#395ac4
rgb(57,90,196)
-
#2f55ce
#2f55ce
rgb(47,85,206)
-
#254fd8
#254fd8
rgb(37,79,216)
-
#1b4ae2
#1b4ae2
rgb(27,74,226)
-
#1245eb
#1245eb
rgb(18,69,235)
-
#0840f5
#0840f5
rgb(8,64,245)
Tone Color Variation
Below, you can see how #0840f5 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