#040f98 Color Information
In a RGB color space, hex #040f98 is composed of 1.6% red, 5.9% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 90.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 235.5 degrees, a saturation of 94.9% and a lightness of 30.6%. #040f98 color hex could be obtained by blending #081eff with #000031. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 60
-
- C 97
- M 90
- Y 0
- K 40
● #040f98 color description : Dark blue.
#040f98 Color Conversion
The hexadecimal color #040f98 has RGB values of R:4, G:15, B:152 and CMYK values of C:0.97, M:0.9, Y:0, K:0.4. Its decimal value is 266136.
| Hex triplet | 040f98 | #040f98 |
|---|---|---|
| RGB Decimal | 4, 15, 152 | rgb(4,15,152) |
| RGB Percent | 1.6, 5.9, 59.6 | rgb(1.6%,5.9%,59.6%) |
| CMYK | 97, 90, 0, 40 | |
| HSL | 235.5°, 94.9, 30.6 | hsl(235.5,94.9%,30.6%) |
| HSV (or HSB) | 235.5°, 97.4, 59.6 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 18.514, 49.064, -70.493 |
|---|---|
| XYZ | 5.887, 2.634, 29.902 |
| xyY | 0.153, 0.069, 2.634 |
| CIE-LCH | 18.514, 85.887, 304.838 |
| CIE-LUV | 18.514, -5.665, -70.489 |
| Hunter-Lab | 16.23, 36.349, -97.878 |
| Binary | 00000100, 00001111, 10011000 |
Color Schemes with #040f98
Alternatives to #040f98
Below, you can see some colors close to #040f98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f98 Preview
This text has a font color of #040f98.
<span style="color:#040f98;">Text here</span>
This paragraph has a background color of #040f98.
<p style="background-color:#040f98;">Content here</p>
This element has a border color of #040f98.
<div style="border:1px solid #040f98;">Content here</div>
.text {color:#040f98;}
.background {background-color:#040f98;}
.border {border:1px solid #040f98;}
Shades and Tints of #040f98
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, #000212 is the darkest color, while #fefeff is the lightest one.
-
#000212
#000212rgb(0,2,18) -
#010425
#010425rgb(1,4,37) -
#010638
#010638rgb(1,6,56) -
#02074c
#02074crgb(2,7,76) -
#02095f
#02095frgb(2,9,95) -
#030b72
#030b72rgb(3,11,114) -
#030d85
#030d85rgb(3,13,133) -
#040f98
#040f98rgb(4,15,152) -
#0511ab
#0511abrgb(5,17,171) -
#0513be
#0513bergb(5,19,190) -
#0615d1
#0615d1rgb(6,21,209) -
#0617e4
#0617e4rgb(6,23,228) -
#0718f8
#0718f8rgb(7,24,248)
-
#1929f9
#1929f9rgb(25,41,249) -
#2c3bf9
#2c3bf9rgb(44,59,249) -
#3f4dfa
#3f4dfargb(63,77,250) -
#525ffa
#525ffargb(82,95,250) -
#6570fb
#6570fbrgb(101,112,251) -
#7882fb
#7882fbrgb(120,130,251) -
#8b94fc
#8b94fcrgb(139,148,252) -
#9fa6fc
#9fa6fcrgb(159,166,252) -
#b2b7fd
#b2b7fdrgb(178,183,253) -
#c5c9fd
#c5c9fdrgb(197,201,253) -
#d8dbfe
#d8dbfergb(216,219,254) -
#ebecfe
#ebecfergb(235,236,254) -
#fefeff
#fefeffrgb(254,254,255)
Tones of #040f98
A tone is produced by adding gray to any pure hue. In this case, #4c4c50 is the less saturated color, while #040f98 is the most saturated one.
-
#4c4c50
#4c4c50rgb(76,76,80) -
#464756
#464756rgb(70,71,86) -
#40425c
#40425crgb(64,66,92) -
#3a3d62
#3a3d62rgb(58,61,98) -
#343868
#343868rgb(52,56,104) -
#2e336e
#2e336ergb(46,51,110) -
#282e74
#282e74rgb(40,46,116) -
#22297a
#22297argb(34,41,122) -
#1c2380
#1c2380rgb(28,35,128) -
#161e86
#161e86rgb(22,30,134) -
#10198c
#10198crgb(16,25,140) -
#0a1492
#0a1492rgb(10,20,146) -
#040f98
#040f98rgb(4,15,152)
Color Blindness Simulator
Below, you can see how #040f98 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.
