Skip to content
ColorsGuide

Dark blue

#2540A8

#2540A8 colour

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

  • HEX#2540a8
  • RGBrgb(37 64 168)
  • HSLhsl(227.6 63.9% 40.2%)
  • HSV / HSBhsv(227.6 78% 65.9%)
  • HWBhwb(227.6 14.5% 34.1%)
  • OKLCHoklch(42.08% 0.1698 267.23)
  • CIELABlab(30.55% 20.87 -60.05)
  • CMYKcmyk(78% 62% 0% 34%)

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

Text and contrast

White text

8.83:1 · AA

Black text

2.37:1 · Fails

On white

8.83:1 · AAA

On black

2.37:1 · Fails

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

Palettes with #2540A8

Curated palettes with a similar colour