#0840a6 hex color
In a RGB color space, hex #0840a6 is composed of 3.1% red, 25.1% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 95.2% cyan, 61.4% magenta, 0% yellow and 34.9% black. It has a hue angle of 218.7 degrees, a saturation of 90.8% and a lightness of 34.1%. #0840a6 color hex could be obtained by blending #1080ff with #00004d. Closest websafe color is: #003399.
-
- R 3
- G 25
- B 65
RGB color chart
-
- C 95
- M 61
- Y 0
- K 35
CMYK color chart
● #0840a6 color description : Dark blue.
The hexadecimal color #0840a6 has RGB values of R:8, G:64, B:166 and CMYK values of C:0.95, M:0.61, Y:0, K:0.35. Its decimal value is 540838.
Hex triplet | 0840a6 | #0840a6 |
---|---|---|
RGB Decimal | 8, 64, 166 | rgb(8,64,166) |
RGB Percent | 3.1, 25.1, 65.1 | rgb(3.1%,25.1%,65.1%) |
CMYK | 95, 61, 0, 35 | |
HSL | 218.7°, 90.8, 34.1 | hsl(218.7,90.8%,34.1%) |
HSV (or HSB) | 218.7°, 95.2, 65.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.571, 25.589, -59.093 |
---|---|
XYZ | 8.815, 6.471, 36.859 |
xyY | 0.169, 0.124, 6.471 |
CIE-LCH | 30.571, 64.396, 293.414 |
CIE-LUV | 30.571, -13.886, -79.199 |
Hunter-Lab | 25.438, 17.34, -68.103 |
Binary | 00001000, 01000000, 10100110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #0840a6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0840a6
This text has a font color of #0840a6.
<span style="color:#0840a6;">Text here</span>
#0840a6 background color
This paragraph has a background color of #0840a6.
<p style="background-color:#0840a6;">Content here</p>
#0840a6 border color
This element has a border color of #0840a6.
<div style="border:1px solid #0840a6;">Content here</div>
CSS codes
.text {color:#0840a6;}
.background {background-color:#0840a6;}
.border {border:1px solid #0840a6;}
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, #010610 is the darkest color, while #fdfdff is the lightest one.
-
#010610
#010610
rgb(1,6,16)
-
#020d23
#020d23
rgb(2,13,35)
-
#031536
#031536
rgb(3,21,54)
-
#031c48
#031c48
rgb(3,28,72)
-
#04235b
#04235b
rgb(4,35,91)
-
#052a6e
#052a6e
rgb(5,42,110)
-
#063281
#063281
rgb(6,50,129)
-
#073993
#073993
rgb(7,57,147)
-
#0840a6
#0840a6
rgb(8,64,166)
-
#0947b9
#0947b9
rgb(9,71,185)
-
#0a4ecb
#0a4ecb
rgb(10,78,203)
-
#0b56de
#0b56de
rgb(11,86,222)
-
#0c5df1
#0c5df1
rgb(12,93,241)
Shade Color Variation
-
#1c69f4
#1c69f4
rgb(28,105,244)
-
#2f75f5
#2f75f5
rgb(47,117,245)
-
#4181f6
#4181f6
rgb(65,129,246)
-
#548ef7
#548ef7
rgb(84,142,247)
-
#679af8
#679af8
rgb(103,154,248)
-
#7aa7f9
#7aa7f9
rgb(122,167,249)
-
#8cb3f9
#8cb3f9
rgb(140,179,249)
-
#9fbffa
#9fbffa
rgb(159,191,250)
-
#b2ccfb
#b2ccfb
rgb(178,204,251)
-
#c4d8fc
#c4d8fc
rgb(196,216,252)
-
#d7e5fd
#d7e5fd
rgb(215,229,253)
-
#eaf1fe
#eaf1fe
rgb(234,241,254)
-
#fdfdff
#fdfdff
rgb(253,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #52555c is the less saturated color, while #013ead is the most saturated one.
-
#52555c
#52555c
rgb(82,85,92)
-
#4b5363
#4b5363
rgb(75,83,99)
-
#44526a
#44526a
rgb(68,82,106)
-
#3e5070
#3e5070
rgb(62,80,112)
-
#374e77
#374e77
rgb(55,78,119)
-
#304c7e
#304c7e
rgb(48,76,126)
-
#294a85
#294a85
rgb(41,74,133)
-
#23488b
#23488b
rgb(35,72,139)
-
#1c4692
#1c4692
rgb(28,70,146)
-
#154499
#154499
rgb(21,68,153)
-
#0f429f
#0f429f
rgb(15,66,159)
-
#0840a6
#0840a6
rgb(8,64,166)
-
#013ead
#013ead
rgb(1,62,173)
Tone Color Variation
Below, you can see how #0840a6 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