#2540b6 hex color
In a RGB color space, hex #2540b6 is composed of 14.5% red, 25.1% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 79.7% cyan, 64.8% magenta, 0% yellow and 28.6% black. It has a hue angle of 228.8 degrees, a saturation of 66.2% and a lightness of 42.9%. #2540b6 color hex could be obtained by blending #4a80ff with #00006d. Closest websafe color is: #3333cc.
-
- R 15
- G 25
- B 71
RGB color chart
-
- C 80
- M 65
- Y 0
- K 29
CMYK color chart
● #2540b6 color description : Strong blue.
The hexadecimal color #2540b6 has RGB values of R:37, G:64, B:182 and CMYK values of C:0.8, M:0.65, Y:0, K:0.29. Its decimal value is 2441398.
Hex triplet | 2540b6 | #2540b6 |
---|---|---|
RGB Decimal | 37, 64, 182 | rgb(37,64,182) |
RGB Percent | 14.5, 25.1, 71.4 | rgb(14.5%,25.1%,71.4%) |
CMYK | 80, 65, 0, 29 | |
HSL | 228.8°, 66.2, 42.9 | hsl(228.8,66.2%,42.9%) |
HSV (or HSB) | 228.8°, 79.7, 71.4 | |
Web Safe | 3333cc | #3333cc |
CIE-LAB | 32.781, 33.68, -64.988 |
---|---|
XYZ | 11.038, 7.437, 45.107 |
xyY | 0.174, 0.117, 7.437 |
CIE-LCH | 32.781, 73.197, 297.395 |
CIE-LUV | 32.781, -11.356, -88.992 |
Hunter-Lab | 27.27, 24.528, -78.981 |
Binary | 00100101, 01000000, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2540b6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2540b6
This text has a font color of #2540b6.
<span style="color:#2540b6;">Text here</span>
#2540b6 background color
This paragraph has a background color of #2540b6.
<p style="background-color:#2540b6;">Content here</p>
#2540b6 border color
This element has a border color of #2540b6.
<div style="border:1px solid #2540b6;">Content here</div>
CSS codes
.text {color:#2540b6;}
.background {background-color:#2540b6;}
.border {border:1px solid #2540b6;}
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, #010103 is the darkest color, while #f1f3fc is the lightest one.
-
#010103
#010103
rgb(1,1,3)
-
#040713
#040713
rgb(4,7,19)
-
#070c23
#070c23
rgb(7,12,35)
-
#0a1234
#0a1234
rgb(10,18,52)
-
#0e1844
#0e1844
rgb(14,24,68)
-
#111e54
#111e54
rgb(17,30,84)
-
#142364
#142364
rgb(20,35,100)
-
#182975
#182975
rgb(24,41,117)
-
#1b2f85
#1b2f85
rgb(27,47,133)
-
#1e3595
#1e3595
rgb(30,53,149)
-
#223aa6
#223aa6
rgb(34,58,166)
-
#2540b6
#2540b6
rgb(37,64,182)
-
#2846c6
#2846c6
rgb(40,70,198)
Shade Color Variation
-
#2e4dd4
#2e4dd4
rgb(46,77,212)
-
#3e5bd8
#3e5bd8
rgb(62,91,216)
-
#4e69db
#4e69db
rgb(78,105,219)
-
#5f76de
#5f76de
rgb(95,118,222)
-
#6f84e2
#6f84e2
rgb(111,132,226)
-
#7f92e5
#7f92e5
rgb(127,146,229)
-
#90a0e8
#90a0e8
rgb(144,160,232)
-
#a0aeec
#a0aeec
rgb(160,174,236)
-
#b0bcef
#b0bcef
rgb(176,188,239)
-
#c0caf2
#c0caf2
rgb(192,202,242)
-
#d1d8f6
#d1d8f6
rgb(209,216,246)
-
#e1e6f9
#e1e6f9
rgb(225,230,249)
-
#f1f3fc
#f1f3fc
rgb(241,243,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #686a73 is the less saturated color, while #032bd8 is the most saturated one.
-
#686a73
#686a73
rgb(104,106,115)
-
#60657b
#60657b
rgb(96,101,123)
-
#586083
#586083
rgb(88,96,131)
-
#4f5a8c
#4f5a8c
rgb(79,90,140)
-
#475594
#475594
rgb(71,85,148)
-
#3e509d
#3e509d
rgb(62,80,157)
-
#364ba5
#364ba5
rgb(54,75,165)
-
#2d45ae
#2d45ae
rgb(45,69,174)
-
#2540b6
#2540b6
rgb(37,64,182)
-
#1d3bbe
#1d3bbe
rgb(29,59,190)
-
#1435c7
#1435c7
rgb(20,53,199)
-
#0c30cf
#0c30cf
rgb(12,48,207)
-
#032bd8
#032bd8
rgb(3,43,216)
Tone Color Variation
Below, you can see how #2540b6 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