#2540a8 Color Information
In a RGB color space, hex #2540a8 is composed of 14.5% red, 25.1% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 78% cyan, 61.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 227.6 degrees, a saturation of 63.9% and a lightness of 40.2%. #2540a8 color hex could be obtained by blending #4a80ff with #000051. Closest websafe color is: #333399.
-
- R 15
- G 25
- B 66
-
- C 78
- M 62
- Y 0
- K 34
● #2540a8 color description : Dark blue.
#2540a8 Color Conversion
The hexadecimal color #2540a8 has RGB values of R:37, G:64, B:168 and CMYK values of C:0.78, M:0.62, Y:0, K:0.34. Its decimal value is 2441384.
Hex triplet | 2540a8 | #2540a8 |
---|---|---|
RGB Decimal | 37, 64, 168 | rgb(37,64,168) |
RGB Percent | 14.5, 25.1, 65.9 | rgb(14.5%,25.1%,65.9%) |
CMYK | 78, 62, 0, 34 | |
HSL | 227.6°, 63.9, 40.2 | hsl(227.6,63.9%,40.2%) |
HSV (or HSB) | 227.6°, 78, 65.9 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 31.547, 28.414, -58.665 |
---|---|
XYZ | 9.663, 6.887, 37.864 |
xyY | 0.178, 0.127, 6.887 |
CIE-LCH | 31.547, 65.183, 295.843 |
CIE-LUV | 31.547, -11.169, -79.874 |
Hunter-Lab | 26.242, 19.802, -67.177 |
Binary | 00100101, 01000000, 10101000 |
Color Schemes with #2540a8
Alternatives to #2540a8
Below, you can see some colors close to #2540a8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#2540a8 Preview
This text has a font color of #2540a8.
<span style="color:#2540a8;">Text here</span>
This paragraph has a background color of #2540a8.
<p style="background-color:#2540a8;">Content here</p>
This element has a border color of #2540a8.
<div style="border:1px solid #2540a8;">Content here</div>
.text {color:#2540a8;}
.background {background-color:#2540a8;}
.border {border:1px solid #2540a8;}
Shades and Tints of #2540a8
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, #020307 is the darkest color, while #f6f8fd is the lightest one.
-
#020307
#020307
rgb(2,3,7)
-
#050917
#050917
rgb(5,9,23)
-
#090f27
#090f27
rgb(9,15,39)
-
#0c1537
#0c1537
rgb(12,21,55)
-
#101b48
#101b48
rgb(16,27,72)
-
#132158
#132158
rgb(19,33,88)
-
#172868
#172868
rgb(23,40,104)
-
#1a2e78
#1a2e78
rgb(26,46,120)
-
#1e3488
#1e3488
rgb(30,52,136)
-
#213a98
#213a98
rgb(33,58,152)
-
#2540a8
#2540a8
rgb(37,64,168)
-
#2946b8
#2946b8
rgb(41,70,184)
-
#2c4cc8
#2c4cc8
rgb(44,76,200)
-
#3556d3
#3556d3
rgb(53,86,211)
-
#4563d6
#4563d6
rgb(69,99,214)
-
#5571da
#5571da
rgb(85,113,218)
-
#657edd
#657edd
rgb(101,126,221)
-
#768ce1
#768ce1
rgb(118,140,225)
-
#8699e4
#8699e4
rgb(134,153,228)
-
#96a7e8
#96a7e8
rgb(150,167,232)
-
#a6b4eb
#a6b4eb
rgb(166,180,235)
-
#b6c2ef
#b6c2ef
rgb(182,194,239)
-
#c6cff2
#c6cff2
rgb(198,207,242)
-
#d6ddf6
#d6ddf6
rgb(214,221,246)
-
#e6eafa
#e6eafa
rgb(230,234,250)
-
#f6f8fd
#f6f8fd
rgb(246,248,253)
Tones of #2540a8
A tone is produced by adding gray to any pure hue. In this case, #646569 is the less saturated color, while #052dc8 is the most saturated one.
-
#646569
#646569
rgb(100,101,105)
-
#5c6071
#5c6071
rgb(92,96,113)
-
#545c79
#545c79
rgb(84,92,121)
-
#4c5781
#4c5781
rgb(76,87,129)
-
#455388
#455388
rgb(69,83,136)
-
#3d4e90
#3d4e90
rgb(61,78,144)
-
#354998
#354998
rgb(53,73,152)
-
#2d45a0
#2d45a0
rgb(45,69,160)
-
#2540a8
#2540a8
rgb(37,64,168)
-
#1d3bb0
#1d3bb0
rgb(29,59,176)
-
#1537b8
#1537b8
rgb(21,55,184)
-
#0d32c0
#0d32c0
rgb(13,50,192)
-
#052dc8
#052dc8
rgb(5,45,200)
Color Blindness Simulator
Below, you can see how #2540a8 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.