Dark blue
#0540B4
#0540B4 colour
#0540B4 is a dark, vivid blue. The closest everyday name is Persian Blue (#1C39BB).
- HEX
#0540b4 - RGB
rgb(5 64 180) - HSL
hsl(219.8 94.6% 36.3%) - HSV / HSB
hsv(219.8 97.2% 70.6%) - HWB
hwb(219.8 2% 29.4%) - OKLCH
oklch(42.35% 0.1916 262.24) - CIELAB
lab(30.58% 22.35 -67.18) - CMYK
cmyk(97% 64% 0% 29%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.75:1 · AA
Black text
2.39:1 · Fails
On white
8.75:1 · AAA
On black
2.39: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 #0540B4 · Turn it into a brand palette