Encycolorpedia

#0040ff Hex Color Code

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

Color Variations

Related Named Colors

Color Schemes

Download: GIMP GPL Adobe ASE (Adobe Swatch Exchange)

#0040ff linear gradient to complementary #00ff00

  1. #0040ff
  2. #5862e2
  3. #6f82c4
  4. #75a2a5
  5. #70c183
  6. #5ae05b
  7. #00ff00

Monochromatic Colors

  1. #0030eb
  2. #0035f1
  3. #003bf8
  4. #0040ff
  5. #2045ff
  6. #314bff
  7. #3e51ff

Tones

  1. #0040ff
  2. #484bea
  3. #6056d4
  4. #6f61bf
  5. #786baa
  6. #7d7695
  7. #808080

Tints and Shades

#0040ff to white

  1. #0040ff
  2. #645eff
  3. #8e7dff
  4. #af9cff
  5. #ccbcff
  6. #e6ddff
  7. #ffffff

#0040ff to black

  1. #0040ff
  2. #1d36d0
  3. #232da2
  4. #232377
  5. #1e1a4f
  6. #15112a
  7. #000000

Color Blindness Simulation

Monochromacy

Dichromacy

Trichromacy

#0040ff HTML / CSS Code Examples

#0040ff foreground

Inspiration does exist but it must find you working.

Pablo Picasso
<p style="color: #0040ff">…</p>

#0040ff background

An artist never really finishes his work; he merely abandons it.

Paul Valéry
<p style="background-color: #0040ff">…</p>

#0040ff shadow

Every good painter paints what he is.

Jackson Pollock
<p style="text-shadow: 0.1em 0.1em 0.15em #0040ff">…</p>

Color Charts

Color Space Conversions

Decimal
16639
Binary
00000000, 01000000, 11111111
Hexadecimal
#0040ff
LRV
≈ 10.9%
Closest short hex
#04f ΔE = 0.985
RGB
rgb(0, 64, 255)
RGBA
rgba(0, 64, 255, 1.0)
rg chromaticity
r: 0.000, g: 0.201, b: 0.799
RYB
red: 0.000%, yellow: 0.201%, blue: 1.000%
Android / android.graphics.Color
-16760577 / 0xff0040ff
HSL
hsl(225, 100%, 50%)
HSLA
hsla(225, 100%, 50%, 1.0)
HSV / HSB
hue: 225° (224.941), saturation: 100% (1.000), value: 100% (1.000)
HSP
hue: 224.941, saturation: 100.000%, perceived brightness: 38.856%
HSLuv (HUSL)
H: 263.700, S: 100.019, L: 39.384
Cubehelix
H: -136.783, S: 2.051, L: 0.258
TSL
T: -2.313, S: 0.481, L: 0.261
CMYK
cyan: 100% (1.000), magenta: 75% (0.749), yellow: 0% (0.000), key: 0% (0.000)
CMY
cyan: 100% (1.000), magenta: 75% (0.749), yellow: 0% (0.000)
XYZ
X: 19.877, Y: 10.884, Z: 95.642
xyY
x: 0.157, y: 0.086, Y: 10.884
CIELab
L: 39.384, a: 58.058, b: -96.049
CIELuv
L: 39.384, u: -14.692, v: -133.092
CIELCH / LCHab
L: 39.384, C: 112.233, H: 301.151
CIELUV / LCHuv
L: 39.384, C: 133.900, H: 263.700
Hunter-Lab
L: 32.991, a: 49.812, b: -148.789
CIECAM02
J: 27.511, C: 87.349, h: 258.363, Q: 103.338, M: 76.385, s: 85.975, H: 310.237
OSA-UCS
lightness: -10.874, jaune: -17.761, green: 4.295
LMS
L: 3.709, M: 5.074, S: 94.262
YCbCr
Y: 73.246, Cb: 221.321, Cr: 86.343
YCgCo
Y: 95.750, Cg: -31.750, Co: -63.750
YDbDr
Y: 66.638, Db: 283.403, Dr: 126.759
YPbPr
Y: 64.120, Pb: 102.860, Pr: -40.786
xvYCC
Y: 71.068, Cb: 218.355, Cr: 92.172
YIQ
Y: 66.638, I: -99.487, Q: 45.894
YUV
Y: 66.638, U: 92.693, V: -58.462
Munsell Color System
10PB 4/12 ΔE = 21.138
Brand Color
Behance ΔE = 0.450

Random Colors

Red

Green

Blue