Dark blue
#0540A5
#0540A5 colour
#0540A5 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0540a5 - RGB
rgb(5 64 165) - HSL
hsl(217.9 94.1% 33.3%) - HSV / HSB
hsv(217.9 97% 64.7%) - HWB
hwb(217.9 2% 35.3%) - OKLCH
oklch(40.93% 0.1721 261.2) - CIELAB
lab(29.39% 17.07 -60.19) - CMYK
cmyk(97% 61% 0% 35%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.19:1 · AA
Black text
2.28:1 · Fails
On white
9.19:1 · AAA
On black
2.28: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 #0540A5 · Turn it into a brand palette