Dark blue
#0840A4
#0840A4 colour
#0840A4 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0840a4 - RGB
rgb(8 64 164) - HSL
hsl(218.5 90.7% 33.7%) - HSV / HSB
hsv(218.5 95.1% 64.3%) - HWB
hwb(218.5 3.1% 35.7%) - OKLCH
oklch(40.88% 0.1704 261.45) - CIELAB
lab(29.36% 16.88 -59.63) - CMYK
cmyk(95% 61% 0% 36%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.21:1 · AA
Black text
2.27:1 · Fails
On white
9.21: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 #0840A4 · Turn it into a brand palette