Encycolorpedia

#0040d4 Hex Color Code

#0040d4 Paint ChipThe hexadecimal color code #0040d4 is a shade of blue. In the RGB color model #0040d4 is comprised of 0% red, 25.1% green and 83.14% blue. In the HSL color space #0040d4 has a hue of 222° (degrees), 100% saturation and 42% lightness. This color has an approximate wavelength of 467.92 nm.

Color Variations

Related Named Colors

Color Schemes

Download: GIMP GPL Adobe ASE (Adobe Swatch Exchange)

#0040d4 linear gradient to complementary #3ed400

  1. #0040d4
  2. #4959bb
  3. #5e72a2
  4. #668a88
  5. #65a36c
  6. #5abb4a
  7. #3ed400

Monochromatic Colors

  1. #0032c3
  2. #0037c8
  3. #003bce
  4. #0040d4
  5. #1945da
  6. #2749e0
  7. #324ee6

Tones

  1. #0040d4
  2. #3a47c2
  3. #4e4eb0
  4. #5a559f
  5. #625c8d
  6. #67637c
  7. #6a6a6a

Tints and Shades

#0040d4 to White

  1. #0040d4
  2. #595ddc
  3. #827be4
  4. #a49aec
  5. #c4bbf3
  6. #e2ddf9
  7. #ffffff

#0040d4 to Black

  1. #0040d4
  2. #1836ad
  3. #1e2c88
  4. #1e2365
  5. #1a1a43
  6. #131024
  7. #000000

Color Blindness Simulation

Monochromacy

Dichromacy

Trichromacy

#0040d4 HTML / CSS Code Examples

#0040d4 foreground

Art is never finished, only abandoned.

Leonardo Da Vinci
<p style="color: #0040d4">…</p>

#0040d4 background

Painting is poetry that is seen rather than felt, and poetry is painting that is felt rather than seen.

Leonardo da Vinci
<p style="background-color: #0040d4">…</p>

#0040d4 shadow

The emotions are sometimes so strong that I work without knowing it. The strokes come like speech.

Vincent Van Gogh
<p style="text-shadow: 0.1em 0.1em 0.15em #0040d4">…</p>

Color Charts

Color Space Conversions

Decimal
16596
Binary
00000000, 01000000, 11010100
Hexadecimal
#0040d4
Closest short hex
#14c ΔE = 1.759
RGB
rgb(0, 64, 212)
RGBA
rgba(0, 64, 212, 1.0)
rg chromaticity
r: 0.000, g: 0.232, b: 0.768
RYB
red: 0.000%, yellow: 0.193%, blue: 0.831%
Android / android.graphics.Color
-16760620 / 0xff0040d4
HSL
hsl(222, 100%, 42%)
HSLA
hsla(222, 100%%, 42%%, 1.0)
HSV / HSB
hue: 222° (221.887), saturation: 100% (1.000), value: 83% (0.831)
HSP
hue: 221.887, saturation: 100.000%, perceived brightness: 34.025%
HSLuv (HUSL)
H: 262.501, S: 100.019, L: 34.839
Cubehelix
H: -140.028, S: 1.753, L: 0.240
TSL
T: -2.181, S: 0.467, L: 0.242
CMYK
cyan: 100% (1.000), magenta: 70% (0.698), yellow: 0% (0.000), key: 17% (0.169)
CMY
cyan: 100% (1.000), magenta: 75% (0.749), yellow: 17% (0.169)
XYZ
X: 13.713, Y: 8.418, Z: 63.177
xyY
x: 0.161, y: 0.099, Y: 8.418
CIELab
L: 34.839, a: 43.105, b: -79.158
CIELuv
L: 34.839, u: -14.213, v: -107.978
CIELCH / LCHab
L: 34.839, C: 90.134, H: 298.570
CIELUV / LCHuv
L: 34.839, C: 108.910, H: 262.501
Hunter-Lab
L: 29.014, a: 33.588, b: -108.789
CIECAM02
J: 24.082, C: 76.054, h: 257.928, Q: 96.684, M: 66.508, s: 82.939, H: 310.013
OSA-UCS
lightness: -10.793, jaune: -14.530, green: 3.426
LMS
L: 3.405, M: 5.027, S: 62.284
YCbCr
Y: 69.032, Cb: 202.444, Cr: 89.396
YCgCo
Y: 85.000, Cg: -21.000, Co: -53.000
YDbDr
Y: 61.736, Db: 226.084, Dr: 117.428
YPbPr
Y: 61.024, Pb: 81.360, Pr: -38.808
xvYCC
Y: 68.409, Cb: 199.469, Cr: 93.910
YIQ
Y: 61.736, I: -85.673, Q: 32.515
YUV
Y: 61.736, U: 73.945, V: -54.161
Munsell Color System
7.5PB 3/12 ΔE = 14.937
Brand Color
Behance ΔE = 5.994

Random Colors

Red

Green

Blue