#0840c5 hex color
In a RGB color space, hex #0840c5 is composed of 3.1% red, 25.1% green and 77.3% blue. Whereas in a CMYK color space, it is composed of 95.9% cyan, 67.5% magenta, 0% yellow and 22.7% black. It has a hue angle of 222.2 degrees, a saturation of 92.2% and a lightness of 40.2%. #0840c5 color hex could be obtained by blending #1080ff with #00008b. Closest websafe color is: #0033cc.
-
- R 3
- G 25
- B 77
RGB color chart
-
- C 96
- M 68
- Y 0
- K 23
CMYK color chart
● #0840c5 color description : Strong blue.
The hexadecimal color #0840c5 has RGB values of R:8, G:64, B:197 and CMYK values of C:0.96, M:0.68, Y:0, K:0.23. Its decimal value is 540869.
Hex triplet | 0840c5 | #0840c5 |
---|---|---|
RGB Decimal | 8, 64, 197 | rgb(8,64,197) |
RGB Percent | 3.1, 25.1, 77.3 | rgb(3.1%,25.1%,77.3%) |
CMYK | 96, 68, 0, 23 | |
HSL | 222.2°, 92.2, 40.2 | hsl(222.2,92.2%,40.2%) |
HSV (or HSB) | 222.2°, 95.9, 77.3 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 33.454, 37.736, -72.734 |
---|---|
XYZ | 12.009, 7.749, 53.683 |
xyY | 0.164, 0.106, 7.749 |
CIE-LCH | 33.454, 81.941, 297.421 |
CIE-LUV | 33.454, -13.823, -98.839 |
Hunter-Lab | 27.836, 28.297, -94.856 |
Binary | 00001000, 01000000, 11000101 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0840c5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0840c5
This text has a font color of #0840c5.
<span style="color:#0840c5;">Text here</span>
#0840c5 background color
This paragraph has a background color of #0840c5.
<p style="background-color:#0840c5;">Content here</p>
#0840c5 border color
This element has a border color of #0840c5.
<div style="border:1px solid #0840c5;">Content here</div>
CSS codes
.text {color:#0840c5;}
.background {background-color:#0840c5;}
.border {border:1px solid #0840c5;}
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, #000309 is the darkest color, while #f5f8ff is the lightest one.
-
#000309
#000309
rgb(0,3,9)
-
#01091b
#01091b
rgb(1,9,27)
-
#020f2e
#020f2e
rgb(2,15,46)
-
#031541
#031541
rgb(3,21,65)
-
#031b54
#031b54
rgb(3,27,84)
-
#042167
#042167
rgb(4,33,103)
-
#05287a
#05287a
rgb(5,40,122)
-
#062e8c
#062e8c
rgb(6,46,140)
-
#06349f
#06349f
rgb(6,52,159)
-
#073ab2
#073ab2
rgb(7,58,178)
-
#0840c5
#0840c5
rgb(8,64,197)
-
#0946d8
#0946d8
rgb(9,70,216)
-
#0a4ceb
#0a4ceb
rgb(10,76,235)
Shade Color Variation
-
#1256f5
#1256f5
rgb(18,86,245)
-
#2563f6
#2563f6
rgb(37,99,246)
-
#3871f7
#3871f7
rgb(56,113,247)
-
#4b7ef8
#4b7ef8
rgb(75,126,248)
-
#5e8cf8
#5e8cf8
rgb(94,140,248)
-
#7199f9
#7199f9
rgb(113,153,249)
-
#84a7fa
#84a7fa
rgb(132,167,250)
-
#96b4fb
#96b4fb
rgb(150,180,251)
-
#a9c2fc
#a9c2fc
rgb(169,194,252)
-
#bccffc
#bccffc
rgb(188,207,252)
-
#cfddfd
#cfddfd
rgb(207,221,253)
-
#e2eafe
#e2eafe
rgb(226,234,254)
-
#f5f8ff
#f5f8ff
rgb(245,248,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5f636e is the less saturated color, while #003dcd is the most saturated one.
-
#5f636e
#5f636e
rgb(95,99,110)
-
#576076
#576076
rgb(87,96,118)
-
#4f5d7e
#4f5d7e
rgb(79,93,126)
-
#475a86
#475a86
rgb(71,90,134)
-
#3f568e
#3f568e
rgb(63,86,142)
-
#375396
#375396
rgb(55,83,150)
-
#2f509e
#2f509e
rgb(47,80,158)
-
#284da5
#284da5
rgb(40,77,165)
-
#204aad
#204aad
rgb(32,74,173)
-
#1846b5
#1846b5
rgb(24,70,181)
-
#1043bd
#1043bd
rgb(16,67,189)
-
#0840c5
#0840c5
rgb(8,64,197)
-
#003dcd
#003dcd
rgb(0,61,205)
Tone Color Variation
Below, you can see how #0840c5 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