Dark blue
#2540A7
#2540A7 colour
#2540A7 is a dark, clear blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#2540a7 - RGB
rgb(37 64 167) - HSL
hsl(227.5 63.7% 40%) - HSV / HSB
hsv(227.5 77.8% 65.5%) - HWB
hwb(227.5 14.5% 34.5%) - OKLCH
oklch(41.99% 0.1684 267.21) - CIELAB
lab(30.47% 20.55 -59.58) - CMYK
cmyk(78% 62% 0% 35%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.86:1 · AA
Black text
2.37:1 · Fails
On white
8.86:1 · AAA
On black
2.37: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 #2540A7 · Turn it into a brand palette