Encycolorpedia

#0040cc Hex Color Code

#0040cc Paint ChipThe hexadecimal color code #0040cc is a medium dark shade of blue. In the RGB color model #0040cc is comprised of 0% red, 25.1% green and 80% blue. In the HSL color space #0040cc has a hue of 221° (degrees), 100% saturation and 40% lightness. This color has an approximate wavelength of 468.24 nm.

Color Variations

Related Named Colors

Color Schemes

Download: GIMP GPL Adobe ASE (Adobe Swatch Exchange) Sketch Palette

#0040cc linear gradient to complementary #4bcc00

  1. #0040cc
  2. #4857b4
  3. #5d6e9c
  4. #658683
  5. #669d67
  6. #5eb447
  7. #4bcc00

Monochromatic Colors

  1. #0033bb
  2. #0037c1
  3. #003cc6
  4. #0040cc
  5. #1745d2
  6. #2549d7
  7. #304edd

Tones

  1. #0040cc
  2. #3746bb
  3. #4a4caa
  4. #565399
  5. #5e5988
  6. #636077
  7. #666666

Tints and Shades

#0040cc to white

  1. #0040cc
  2. #575cd5
  3. #807bdf
  4. #a29ae7
  5. #c3bbf0
  6. #e1dcf8
  7. #ffffff

#0040cc to black

  1. #0040cc
  2. #1736a7
  3. #1d2c83
  4. #1d2361
  5. #191a41
  6. #131023
  7. #000000

Paints

Similar Paints

  1. Caparol

    1. 65 25 260 / Lazur 210
      #1c48c8
      ΔE = 2.779 / LRV ≈ 9.1%
    2. 60 25 260 / Lazur 170
      #1440b8
      ΔE = 2.949 / LRV ≈ 7.3%
  2. Pantone / PMS

    1. 2369 C
      #3b3fb6
      ΔE = 2.918 / LRV ≈ 7.9%

Color Blindness Simulation

Monochromacy

Dichromacy

Trichromacy

#0040cc HTML / CSS Code Examples

#0040cc foreground

Painting is the grandchild of nature. It is related to God.

Rembrandt
<p style="color: #0040cc">…</p>

#0040cc background

If I create from the heart, nearly everything works; if from the head, almost nothing.

Marc Chagall
<p style="background-color: #0040cc">…</p>

#0040cc shadow

Don't think about making art, just get it done. Let everyone else decide if it's good or bad, whether they love it or hate it. While they are deciding, make even more art.

Andy Warhol
<p style="text-shadow: 0.1em 0.1em 0.15em #0040cc">…</p>

Color Charts

Color Space Conversions

Decimal
16588
Binary
00000000, 01000000, 11001100
Hexadecimal
#0040cc
LRV
≈ 8.0%
Closest short hex
#04c ΔE = 1.293
RGB
rgb(0, 64, 204)
RGBA
rgba(0, 64, 204, 1.0)
rg chromaticity
r: 0.000, g: 0.239, b: 0.761
RYB
red: 0.000%, yellow: 0.191%, blue: 0.800%
Android / android.graphics.Color
-16760628 / 0xff0040cc
HSL
hsl(221, 100%, 40%)
HSLA
hsla(221, 100%, 40%, 1.0)
HSV / HSB
hue: 221° (221.176), saturation: 100% (1.000), value: 80% (0.800)
HSP
hue: 221.176, saturation: 100.000%, perceived brightness: 33.157%
HSLuv (HUSL)
H: 262.176, S: 100.019, L: 34.034
Cubehelix
H: -140.803, S: 1.695, L: 0.236
TSL
T: -2.151, S: 0.465, L: 0.239
CMYK
cyan: 100% (1.000), magenta: 69% (0.686), yellow: 0% (0.000), key: 20% (0.200)
CMY
cyan: 100% (1.000), magenta: 75% (0.749), yellow: 20% (0.200)
XYZ
X: 12.729, Y: 8.025, Z: 57.993
xyY
x: 0.162, y: 0.102, Y: 8.025
CIELab
L: 34.034, a: 40.145, b: -75.854
CIELuv
L: 34.034, u: -14.175, v: -103.154
CIELCH / LCHab
L: 34.034, C: 85.822, H: 297.890
CIELUV / LCHuv
L: 34.034, C: 104.123, H: 262.176
Hunter-Lab
L: 28.328, a: 30.632, b: -101.550
CIECAM02
J: 23.495, C: 73.798, h: 257.752, Q: 95.499, M: 64.535, s: 82.205, H: 309.922
OSA-UCS
lightness: -10.774, jaune: -13.899, green: 3.282
LMS
L: 3.357, M: 5.020, S: 57.178
YCbCr
Y: 68.248, Cb: 198.932, Cr: 89.964
YCgCo
Y: 83.000, Cg: -19.000, Co: -51.000
YDbDr
Y: 60.824, Db: 215.420, Dr: 115.692
YPbPr
Y: 60.448, Pb: 77.360, Pr: -38.440
xvYCC
Y: 67.914, Cb: 195.955, Cr: 94.233
YIQ
Y: 60.824, I: -83.103, Q: 30.026
YUV
Y: 60.824, U: 70.457, V: -53.361
Munsell Color System
7.5PB 3/12 ΔE = 13.434
Brand Color
Boeing ΔE = 6.931

Random Colors

Red

Green

Blue