#0540a1 Color Information
In a RGB color space, hex #0540a1 is composed of 2% red, 25.1% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 60.2% magenta, 0% yellow and 36.9% black. It has a hue angle of 217.3 degrees, a saturation of 94% and a lightness of 32.5%. #0540a1 color hex could be obtained by blending #0a80ff with #000043. Closest websafe color is: #003399.
-
- R 2
- G 25
- B 63
-
- C 97
- M 60
- Y 0
- K 37
● #0540a1 color description : Dark blue.
#0540a1 Color Conversion
The hexadecimal color #0540a1 has RGB values of R:5, G:64, B:161 and CMYK values of C:0.97, M:0.6, Y:0, K:0.37. Its decimal value is 344225.
Hex triplet | 0540a1 | #0540a1 |
---|---|---|
RGB Decimal | 5, 64, 161 | rgb(5,64,161) |
RGB Percent | 2, 25.1, 63.1 | rgb(2%,25.1%,63.1%) |
CMYK | 97, 60, 0, 37 | |
HSL | 217.3°, 94, 32.5 | hsl(217.3,94%,32.5%) |
HSV (or HSB) | 217.3°, 96.9, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 30.087, 23.421, -56.871 |
---|---|
XYZ | 8.328, 6.272, 34.488 |
xyY | 0.17, 0.128, 6.272 |
CIE-LCH | 30.087, 61.505, 292.383 |
CIE-LUV | 30.087, -14.093, -75.942 |
Hunter-Lab | 25.043, 15.532, -64.121 |
Binary | 00000101, 01000000, 10100001 |
Color Schemes with #0540a1
Alternatives to #0540a1
Below, you can see some colors close to #0540a1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#0540a1 Preview
This text has a font color of #0540a1.
<span style="color:#0540a1;">Text here</span>
This paragraph has a background color of #0540a1.
<p style="background-color:#0540a1;">Content here</p>
This element has a border color of #0540a1.
<div style="border:1px solid #0540a1;">Content here</div>
.text {color:#0540a1;}
.background {background-color:#0540a1;}
.border {border:1px solid #0540a1;}
Shades and Tints of #0540a1
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, #000309 is the darkest color, while #f5f9ff is the lightest one.
-
#000309
#000309
rgb(0,3,9)
-
#010b1c
#010b1c
rgb(1,11,28)
-
#01132f
#01132f
rgb(1,19,47)
-
#021a42
#021a42
rgb(2,26,66)
-
#032255
#032255
rgb(3,34,85)
-
#032968
#032968
rgb(3,41,104)
-
#04317b
#04317b
rgb(4,49,123)
-
#04388e
#04388e
rgb(4,56,142)
-
#0540a1
#0540a1
rgb(5,64,161)
-
#0648b4
#0648b4
rgb(6,72,180)
-
#064fc7
#064fc7
rgb(6,79,199)
-
#0757da
#0757da
rgb(7,87,218)
-
#075eed
#075eed
rgb(7,94,237)
-
#1068f8
#1068f8
rgb(16,104,248)
-
#2474f8
#2474f8
rgb(36,116,248)
-
#3780f9
#3780f9
rgb(55,128,249)
-
#4a8cf9
#4a8cf9
rgb(74,140,249)
-
#5d98fa
#5d98fa
rgb(93,152,250)
-
#70a4fb
#70a4fb
rgb(112,164,251)
-
#83b0fb
#83b0fb
rgb(131,176,251)
-
#96bcfc
#96bcfc
rgb(150,188,252)
-
#a9c8fc
#a9c8fc
rgb(169,200,252)
-
#bcd4fd
#bcd4fd
rgb(188,212,253)
-
#cfe0fe
#cfe0fe
rgb(207,224,254)
-
#e2ecfe
#e2ecfe
rgb(226,236,254)
-
#f5f9ff
#f5f9ff
rgb(245,249,255)
Tones of #0540a1
A tone is produced by adding gray to any pure hue. In this case, #525354 is the less saturated color, while #0540a1 is the most saturated one.
-
#525354
#525354
rgb(82,83,84)
-
#4b515b
#4b515b
rgb(75,81,91)
-
#455061
#455061
rgb(69,80,97)
-
#3e4e68
#3e4e68
rgb(62,78,104)
-
#384c6e
#384c6e
rgb(56,76,110)
-
#324b74
#324b74
rgb(50,75,116)
-
#2b497b
#2b497b
rgb(43,73,123)
-
#254881
#254881
rgb(37,72,129)
-
#1f4687
#1f4687
rgb(31,70,135)
-
#18458e
#18458e
rgb(24,69,142)
-
#124394
#124394
rgb(18,67,148)
-
#0b429b
#0b429b
rgb(11,66,155)
-
#0540a1
#0540a1
rgb(5,64,161)
Color Blindness Simulator
Below, you can see how #0540a1 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.