Dark blue
#2540AB
#2540AB colour
#2540AB is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#2540ab - RGB
rgb(37 64 171) - HSL
hsl(227.9 64.4% 40.8%) - HSV / HSB
hsv(227.9 78.4% 67.1%) - HWB
hwb(227.9 14.5% 32.9%) - OKLCH
oklch(42.35% 0.1738 267.29) - CIELAB
lab(30.77% 21.85 -61.47) - CMYK
cmyk(78% 63% 0% 33%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.74:1 · AA
Black text
2.40:1 · Fails
On white
8.74:1 · AAA
On black
2.40:1 · Fails
Colour harmonies
Complementary
Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.
Shades and tints
Build a 50–950 scale from #2540AB · Turn it into a brand palette