Dark blue
#1240B2
#1240B2 colour
#1240B2 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#1240b2 - RGB
rgb(18 64 178) - HSL
hsl(222.8 81.6% 38.4%) - HSV / HSB
hsv(222.8 89.9% 69.8%) - HWB
hwb(222.8 7.1% 30.2%) - OKLCH
oklch(42.38% 0.1872 263.57) - CIELAB
lab(30.66% 22.34 -65.85) - CMYK
cmyk(90% 64% 0% 30%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.74:1 · AA
Black text
2.40:1 · Fails
On white
8.74:1 · AAA
On black
2.40: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 #1240B2 · Turn it into a brand palette