Skip to content
ColorsGuide

Dark blue

#0040AF

#0040AF colour

#0040AF is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).

  • HEX#0040af
  • RGBrgb(0 64 175)
  • HSLhsl(218.1 100% 34.3%)
  • HSV / HSBhsv(218.1 100% 68.6%)
  • HWBhwb(218.1 0% 31.4%)
  • OKLCHoklch(41.79% 0.1858 261.44)
  • CIELABlab(30.09% 20.37 -65.02)
  • CMYKcmyk(100% 63% 0% 31%)

CMYK is an approximation without a print profile. Name: generated description, not an official name.

Text and contrast

White text

8.92:1 · AA

Black text

2.35:1 · Fails

On white

8.92:1 · AAA

On black

2.35:1 · Fails

Check #0040AF against any colour

Colour harmonies

Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.

Shades and tints

Build a 50–950 scale from #0040AF · Turn it into a brand palette

Palettes with #0040AF

Curated palettes with a similar colour