Dark blue
#0540B2
#0540B2 colour
#0540B2 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0540b2 - RGB
rgb(5 64 178) - HSL
hsl(219.5 94.5% 35.9%) - HSV / HSB
hsv(219.5 97.2% 69.8%) - HWB
hwb(219.5 2% 30.2%) - OKLCH
oklch(42.16% 0.189 262.13) - CIELAB
lab(30.42% 21.66 -66.26) - CMYK
cmyk(97% 64% 0% 30%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.81:1 · AA
Black text
2.38:1 · Fails
On white
8.81:1 · AAA
On black
2.38: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 #0540B2 · Turn it into a brand palette