Skip to content
ColorsGuide

Dark blue

#0240AF

#0240AF colour

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

  • HEX#0240af
  • RGBrgb(2 64 175)
  • HSLhsl(218.5 97.7% 34.7%)
  • HSV / HSBhsv(218.5 98.9% 68.6%)
  • HWBhwb(218.5 0.8% 31.4%)
  • OKLCHoklch(41.82% 0.1856 261.64)
  • CIELABlab(30.13% 20.47 -64.96)
  • CMYKcmyk(99% 63% 0% 31%)

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

Text and contrast

White text

8.91:1 · AA

Black text

2.35:1 · Fails

On white

8.91:1 · AAA

On black

2.35:1 · Fails

Check #0240AF 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 #0240AF · Turn it into a brand palette

Palettes with #0240AF

Curated palettes with a similar colour