#2540aa hex color
In a RGB color space, hex #2540aa is composed of 14.5% red, 25.1% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 78.2% cyan, 62.4% magenta, 0% yellow and 33.3% black. It has a hue angle of 227.8 degrees, a saturation of 64.3% and a lightness of 40.6%. #2540aa color hex could be obtained by blending #4a80ff with #000055. Closest websafe color is: #333399.
-
- R 15
- G 25
- B 67
RGB color chart
-
- C 78
- M 62
- Y 0
- K 33
CMYK color chart
● #2540aa color description : Dark blue.
The hexadecimal color #2540aa has RGB values of R:37, G:64, B:170 and CMYK values of C:0.78, M:0.62, Y:0, K:0.33. Its decimal value is 2441386.
Hex triplet | 2540aa | #2540aa |
---|---|---|
RGB Decimal | 37, 64, 170 | rgb(37,64,170) |
RGB Percent | 14.5, 25.1, 66.7 | rgb(14.5%,25.1%,66.7%) |
CMYK | 78, 62, 0, 33 | |
HSL | 227.8°, 64.3, 40.6 | hsl(227.8,64.3%,40.6%) |
HSV (or HSB) | 227.8°, 78.2, 66.7 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 31.72, 29.173, -59.582 |
---|---|
XYZ | 9.851, 6.962, 38.853 |
xyY | 0.177, 0.125, 6.962 |
CIE-LCH | 31.72, 66.34, 296.088 |
CIE-LUV | 31.72, -11.193, -81.195 |
Hunter-Lab | 26.385, 20.467, -68.836 |
Binary | 00100101, 01000000, 10101010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2540aa. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2540aa
This text has a font color of #2540aa.
<span style="color:#2540aa;">Text here</span>
#2540aa background color
This paragraph has a background color of #2540aa.
<p style="background-color:#2540aa;">Content here</p>
#2540aa border color
This element has a border color of #2540aa.
<div style="border:1px solid #2540aa;">Content here</div>
CSS codes
.text {color:#2540aa;}
.background {background-color:#2540aa;}
.border {border:1px solid #2540aa;}
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, #020309 is the darkest color, while #f8f9fd is the lightest one.
-
#020309
#020309
rgb(2,3,9)
-
#050919
#050919
rgb(5,9,25)
-
#090f29
#090f29
rgb(9,15,41)
-
#0c1639
#0c1639
rgb(12,22,57)
-
#101c49
#101c49
rgb(16,28,73)
-
#132259
#132259
rgb(19,34,89)
-
#17286a
#17286a
rgb(23,40,106)
-
#1a2e7a
#1a2e7a
rgb(26,46,122)
-
#1e348a
#1e348a
rgb(30,52,138)
-
#213a9a
#213a9a
rgb(33,58,154)
-
#2540aa
#2540aa
rgb(37,64,170)
-
#2946ba
#2946ba
rgb(41,70,186)
-
#2c4cca
#2c4cca
rgb(44,76,202)
Shade Color Variation
-
#3656d3
#3656d3
rgb(54,86,211)
-
#4764d7
#4764d7
rgb(71,100,215)
-
#5771da
#5771da
rgb(87,113,218)
-
#677fde
#677fde
rgb(103,127,222)
-
#778de1
#778de1
rgb(119,141,225)
-
#879ae5
#879ae5
rgb(135,154,229)
-
#97a8e8
#97a8e8
rgb(151,168,232)
-
#a7b5ec
#a7b5ec
rgb(167,181,236)
-
#b7c3ef
#b7c3ef
rgb(183,195,239)
-
#c7d0f3
#c7d0f3
rgb(199,208,243)
-
#d8def6
#d8def6
rgb(216,222,246)
-
#e8ebfa
#e8ebfa
rgb(232,235,250)
-
#f8f9fd
#f8f9fd
rgb(248,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #65666a is the less saturated color, while #052dca is the most saturated one.
-
#65666a
#65666a
rgb(101,102,106)
-
#5d6172
#5d6172
rgb(93,97,114)
-
#555c7a
#555c7a
rgb(85,92,122)
-
#4d5882
#4d5882
rgb(77,88,130)
-
#45538a
#45538a
rgb(69,83,138)
-
#3d4e92
#3d4e92
rgb(61,78,146)
-
#35499a
#35499a
rgb(53,73,154)
-
#2d45a2
#2d45a2
rgb(45,69,162)
-
#2540aa
#2540aa
rgb(37,64,170)
-
#1d3bb2
#1d3bb2
rgb(29,59,178)
-
#1537ba
#1537ba
rgb(21,55,186)
-
#0d32c2
#0d32c2
rgb(13,50,194)
-
#052dca
#052dca
rgb(5,45,202)
Tone Color Variation
Below, you can see how #2540aa 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