#040798 Color Information
In a RGB color space, hex #040798 is composed of 1.6% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 238.8 degrees, a saturation of 94.9% and a lightness of 30.6%. #040798 color hex could be obtained by blending #080eff with #000031. Closest websafe color is: #000099.
-
- R 2
- G 3
- B 60
-
- C 97
- M 95
- Y 0
- K 40
● #040798 color description : Dark blue.
#040798 Color Conversion
The hexadecimal color #040798 has RGB values of R:4, G:7, B:152 and CMYK values of C:0.97, M:0.95, Y:0, K:0.4. Its decimal value is 264088.
Hex triplet | 040798 | #040798 |
---|---|---|
RGB Decimal | 4, 7, 152 | rgb(4,7,152) |
RGB Percent | 1.6, 2.7, 59.6 | rgb(1.6%,2.7%,59.6%) |
CMYK | 97, 95, 0, 40 | |
HSL | 238.8°, 94.9, 30.6 | hsl(238.8,94.9%,30.6%) |
HSV (or HSB) | 238.8°, 97.4, 59.6 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 17.665, 51.656, -71.912 |
---|---|
XYZ | 5.792, 2.444, 29.871 |
xyY | 0.152, 0.064, 2.444 |
CIE-LCH | 17.665, 88.542, 305.691 |
CIE-LUV | 17.665, -5.145, -69.298 |
Hunter-Lab | 15.634, 38.773, -102.334 |
Binary | 00000100, 00000111, 10011000 |
Color Schemes with #040798
Alternatives to #040798
Below, you can see some colors close to #040798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040798 Preview
This text has a font color of #040798.
<span style="color:#040798;">Text here</span>
This paragraph has a background color of #040798.
<p style="background-color:#040798;">Content here</p>
This element has a border color of #040798.
<div style="border:1px solid #040798;">Content here</div>
.text {color:#040798;}
.background {background-color:#040798;}
.border {border:1px solid #040798;}
Shades and Tints of #040798
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, #000112 is the darkest color, while #fefeff is the lightest one.
-
#000112
#000112
rgb(0,1,18)
-
#010225
#010225
rgb(1,2,37)
-
#010338
#010338
rgb(1,3,56)
-
#02034c
#02034c
rgb(2,3,76)
-
#02045f
#02045f
rgb(2,4,95)
-
#030572
#030572
rgb(3,5,114)
-
#030685
#030685
rgb(3,6,133)
-
#040798
#040798
rgb(4,7,152)
-
#0508ab
#0508ab
rgb(5,8,171)
-
#0509be
#0509be
rgb(5,9,190)
-
#060ad1
#060ad1
rgb(6,10,209)
-
#060be4
#060be4
rgb(6,11,228)
-
#070bf8
#070bf8
rgb(7,11,248)
-
#191df9
#191df9
rgb(25,29,249)
-
#2c30f9
#2c30f9
rgb(44,48,249)
-
#3f43fa
#3f43fa
rgb(63,67,250)
-
#5256fa
#5256fa
rgb(82,86,250)
-
#6568fb
#6568fb
rgb(101,104,251)
-
#787bfb
#787bfb
rgb(120,123,251)
-
#8b8efc
#8b8efc
rgb(139,142,252)
-
#9fa0fc
#9fa0fc
rgb(159,160,252)
-
#b2b3fd
#b2b3fd
rgb(178,179,253)
-
#c5c6fd
#c5c6fd
rgb(197,198,253)
-
#d8d9fe
#d8d9fe
rgb(216,217,254)
-
#ebebfe
#ebebfe
rgb(235,235,254)
-
#fefeff
#fefeff
rgb(254,254,255)
Tones of #040798
A tone is produced by adding gray to any pure hue. In this case, #4c4c50 is the less saturated color, while #040798 is the most saturated one.
-
#4c4c50
#4c4c50
rgb(76,76,80)
-
#464656
#464656
rgb(70,70,86)
-
#40415c
#40415c
rgb(64,65,92)
-
#3a3b62
#3a3b62
rgb(58,59,98)
-
#343568
#343568
rgb(52,53,104)
-
#2e2f6e
#2e2f6e
rgb(46,47,110)
-
#282a74
#282a74
rgb(40,42,116)
-
#22247a
#22247a
rgb(34,36,122)
-
#1c1e80
#1c1e80
rgb(28,30,128)
-
#161886
#161886
rgb(22,24,134)
-
#10138c
#10138c
rgb(16,19,140)
-
#0a0d92
#0a0d92
rgb(10,13,146)
-
#040798
#040798
rgb(4,7,152)
Color Blindness Simulator
Below, you can see how #040798 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.