Dark blue
#2540B7
#2540B7 colour
#2540B7 is a dark, vivid blue. The closest everyday name is Persian Blue (#1C39BB).
- HEX
#2540b7 - RGB
rgb(37 64 183) - HSL
hsl(228.9 66.4% 43.1%) - HSV / HSB
hsv(228.9 79.8% 71.8%) - HWB
hwb(228.9 14.5% 28.2%) - OKLCH
oklch(43.46% 0.1896 267.43) - CIELAB
lab(31.71% 25.74 -67.06) - CMYK
cmyk(80% 65% 0% 28%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.41:1 · AA
Black text
2.49:1 · Fails
On white
8.41:1 · AAA
On black
2.49: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 #2540B7 · Turn it into a brand palette