#040def Color Information
In a RGB color space, hex #040def is composed of 1.6% red, 5.1% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 94.6% magenta, 0% yellow and 6.3% black. It has a hue angle of 237.7 degrees, a saturation of 96.7% and a lightness of 47.6%. #040def color hex could be obtained by blending #081aff with #0000df. Closest websafe color is: #0000ff.
-
- R 2
- G 5
- B 94
-
- C 98
- M 95
- Y 0
- K 6
● #040def color description : Vivid blue.
#040def Color Conversion
The hexadecimal color #040def has RGB values of R:4, G:13, B:239 and CMYK values of C:0.98, M:0.95, Y:0, K:0.06. Its decimal value is 265711.
| Hex triplet | 040def | #040def |
|---|---|---|
| RGB Decimal | 4, 13, 239 | rgb(4,13,239) |
| RGB Percent | 1.6, 5.1, 93.7 | rgb(1.6%,5.1%,93.7%) |
| CMYK | 98, 95, 0, 6 | |
| HSL | 237.7°, 96.7, 47.6 | hsl(237.7,96.7%,47.6%) |
| HSV (or HSB) | 237.7°, 98.3, 93.7 | |
| Web Safe | 0000ff | #0000ff |
| CIE-LAB | 30.746, 73.26, -101.431 |
|---|---|
| XYZ | 15.771, 6.544, 82.089 |
| xyY | 0.151, 0.063, 6.544 |
| CIE-LCH | 30.746, 125.121, 305.839 |
| CIE-LUV | 30.746, -9.076, -121.837 |
| Hunter-Lab | 25.582, 65.274, -172.345 |
| Binary | 00000100, 00001101, 11101111 |
Color Schemes with #040def
Alternatives to #040def
Below, you can see some colors close to #040def. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040def Preview
This text has a font color of #040def.
<span style="color:#040def;">Text here</span>
This paragraph has a background color of #040def.
<p style="background-color:#040def;">Content here</p>
This element has a border color of #040def.
<div style="border:1px solid #040def;">Content here</div>
.text {color:#040def;}
.background {background-color:#040def;}
.border {border:1px solid #040def;}
Shades and Tints of #040def
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, #000007 is the darkest color, while #f3f4ff is the lightest one.
-
#000007
#000007rgb(0,0,7) -
#00011b
#00011brgb(0,1,27) -
#01032e
#01032ergb(1,3,46) -
#010441
#010441rgb(1,4,65) -
#010555
#010555rgb(1,5,85) -
#020668
#020668rgb(2,6,104) -
#02077b
#02077brgb(2,7,123) -
#02088f
#02088frgb(2,8,143) -
#0309a2
#0309a2rgb(3,9,162) -
#030ab5
#030ab5rgb(3,10,181) -
#030bc8
#030bc8rgb(3,11,200) -
#040cdc
#040cdcrgb(4,12,220) -
#040def
#040defrgb(4,13,239)
-
#0c15fb
#0c15fbrgb(12,21,251) -
#1f27fb
#1f27fbrgb(31,39,251) -
#323afc
#323afcrgb(50,58,252) -
#464dfc
#464dfcrgb(70,77,252) -
#595ffc
#595ffcrgb(89,95,252) -
#6c72fd
#6c72fdrgb(108,114,253) -
#7f84fd
#7f84fdrgb(127,132,253) -
#9397fd
#9397fdrgb(147,151,253) -
#a6a9fe
#a6a9fergb(166,169,254) -
#b9bcfe
#b9bcfergb(185,188,254) -
#cdcffe
#cdcffergb(205,207,254) -
#e0e1fe
#e0e1fergb(224,225,254) -
#f3f4ff
#f3f4ffrgb(243,244,255)
Tones of #040def
A tone is produced by adding gray to any pure hue. In this case, #74757f is the less saturated color, while #040def is the most saturated one.
-
#74757f
#74757frgb(116,117,127) -
#6b6c88
#6b6c88rgb(107,108,136) -
#616392
#616392rgb(97,99,146) -
#585b9b
#585b9brgb(88,91,155) -
#4f52a4
#4f52a4rgb(79,82,164) -
#4549ae
#4549aergb(69,73,174) -
#3c41b7
#3c41b7rgb(60,65,183) -
#3338c0
#3338c0rgb(51,56,192) -
#2930ca
#2930cargb(41,48,202) -
#2027d3
#2027d3rgb(32,39,211) -
#171edc
#171edcrgb(23,30,220) -
#0d16e6
#0d16e6rgb(13,22,230) -
#040def
#040defrgb(4,13,239)
Color Blindness Simulator
Below, you can see how #040def 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.
