Skip to content
ColorsGuide

Dark blue

#2540AF

#2540AF colour

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

  • HEX#2540af
  • RGBrgb(37 64 175)
  • HSLhsl(228.3 65.1% 41.6%)
  • HSV / HSBhsv(228.3 78.9% 68.6%)
  • HWBhwb(228.3 14.5% 31.4%)
  • OKLCHoklch(42.71% 0.1791 267.35)
  • CIELABlab(31.08% 23.15 -63.35)
  • CMYKcmyk(79% 63% 0% 31%)

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

Text and contrast

White text

8.63:1 · AA

Black text

2.43:1 · Fails

On white

8.63:1 · AAA

On black

2.43:1 · Fails

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

Palettes with #2540AF

Curated palettes with a similar colour