Dark blue
#2540B2
#2540B2 colour
#2540B2 is a dark, vivid blue. The closest everyday name is Persian Blue (#1C39BB).
- HEX
#2540b2 - RGB
rgb(37 64 178) - HSL
hsl(228.5 65.6% 42.2%) - HSV / HSB
hsv(228.5 79.2% 69.8%) - HWB
hwb(228.5 14.5% 30.2%) - OKLCH
oklch(42.99% 0.1831 267.39) - CIELAB
lab(31.31% 24.12 -64.75) - CMYK
cmyk(79% 64% 0% 30%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.55:1 · AA
Black text
2.45:1 · Fails
On white
8.55:1 · AAA
On black
2.45: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 #2540B2 · Turn it into a brand palette