Dark blue
#0540A4
#0540A4 colour
#0540A4 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0540a4 - RGB
rgb(5 64 164) - HSL
hsl(217.7 94.1% 33.1%) - HSV / HSB
hsv(217.7 97% 64.3%) - HWB
hwb(217.7 2% 35.7%) - OKLCH
oklch(40.83% 0.1708 261.12) - CIELAB
lab(29.31% 16.72 -59.72) - CMYK
cmyk(97% 61% 0% 36%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.22:1 · AA
Black text
2.27:1 · Fails
On white
9.22:1 · AAA
On black
2.27: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 #0540A4 · Turn it into a brand palette