#0840c9 hex color
In a RGB color space, hex #0840c9 is composed of 3.1% red, 25.1% green and 78.8% blue. Whereas in a CMYK color space, it is composed of 96% cyan, 68.2% magenta, 0% yellow and 21.2% black. It has a hue angle of 222.6 degrees, a saturation of 92.3% and a lightness of 41%. #0840c9 color hex could be obtained by blending #1080ff with #000093. Closest websafe color is: #0033cc.
-
- R 3
- G 25
- B 79
RGB color chart
-
- C 96
- M 68
- Y 0
- K 21
CMYK color chart
● #0840c9 color description : Strong blue.
The hexadecimal color #0840c9 has RGB values of R:8, G:64, B:201 and CMYK values of C:0.96, M:0.68, Y:0, K:0.21. Its decimal value is 540873.
Hex triplet | 0840c9 | #0840c9 |
---|---|---|
RGB Decimal | 8, 64, 201 | rgb(8,64,201) |
RGB Percent | 3.1, 25.1, 78.8 | rgb(3.1%,25.1%,78.8%) |
CMYK | 96, 68, 0, 21 | |
HSL | 222.6°, 92.3, 41 | hsl(222.6,92.3%,41%) |
HSV (or HSB) | 222.6°, 96, 78.8 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 33.846, 39.239, -74.422 |
---|---|
XYZ | 12.474, 7.934, 56.129 |
xyY | 0.163, 0.104, 7.934 |
CIE-LCH | 33.846, 84.133, 297.8 |
CIE-LUV | 33.846, -13.839, -101.29 |
Hunter-Lab | 28.168, 29.753, -98.427 |
Binary | 00001000, 01000000, 11001001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0840c9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0840c9
This text has a font color of #0840c9.
<span style="color:#0840c9;">Text here</span>
#0840c9 background color
This paragraph has a background color of #0840c9.
<p style="background-color:#0840c9;">Content here</p>
#0840c9 border color
This element has a border color of #0840c9.
<div style="border:1px solid #0840c9;">Content here</div>
CSS codes
.text {color:#0840c9;}
.background {background-color:#0840c9;}
.border {border:1px solid #0840c9;}
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, #00040c is the darkest color, while #f8faff is the lightest one.
-
#00040c
#00040c
rgb(0,4,12)
-
#010a1f
#010a1f
rgb(1,10,31)
-
#021032
#021032
rgb(2,16,50)
-
#031645
#031645
rgb(3,22,69)
-
#031c58
#031c58
rgb(3,28,88)
-
#04226b
#04226b
rgb(4,34,107)
-
#05287e
#05287e
rgb(5,40,126)
-
#062e90
#062e90
rgb(6,46,144)
-
#0634a3
#0634a3
rgb(6,52,163)
-
#073ab6
#073ab6
rgb(7,58,182)
-
#0840c9
#0840c9
rgb(8,64,201)
-
#0946dc
#0946dc
rgb(9,70,220)
-
#0a4cef
#0a4cef
rgb(10,76,239)
Shade Color Variation
-
#1657f6
#1657f6
rgb(22,87,246)
-
#2965f6
#2965f6
rgb(41,101,246)
-
#3c72f7
#3c72f7
rgb(60,114,247)
-
#4f80f8
#4f80f8
rgb(79,128,248)
-
#628df9
#628df9
rgb(98,141,249)
-
#749bf9
#749bf9
rgb(116,155,249)
-
#87a9fa
#87a9fa
rgb(135,169,250)
-
#9ab6fb
#9ab6fb
rgb(154,182,251)
-
#adc4fc
#adc4fc
rgb(173,196,252)
-
#c0d1fc
#c0d1fc
rgb(192,209,252)
-
#d3dffd
#d3dffd
rgb(211,223,253)
-
#e6edfe
#e6edfe
rgb(230,237,254)
-
#f8faff
#f8faff
rgb(248,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #686869 is the less saturated color, while #0840c9 is the most saturated one.
-
#686869
#686869
rgb(104,104,105)
-
#606571
#606571
rgb(96,101,113)
-
#586279
#586279
rgb(88,98,121)
-
#505e81
#505e81
rgb(80,94,129)
-
#485b89
#485b89
rgb(72,91,137)
-
#405891
#405891
rgb(64,88,145)
-
#385499
#385499
rgb(56,84,153)
-
#3051a1
#3051a1
rgb(48,81,161)
-
#284da9
#284da9
rgb(40,77,169)
-
#204ab1
#204ab1
rgb(32,74,177)
-
#1847b9
#1847b9
rgb(24,71,185)
-
#1043c1
#1043c1
rgb(16,67,193)
-
#0840c9
#0840c9
rgb(8,64,201)
Tone Color Variation
Below, you can see how #0840c9 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