Dark blue
#1240A8
#1240A8 colour
#1240A8 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#1240a8 - RGB
rgb(18 64 168) - HSL
hsl(221.6 80.6% 36.5%) - HSV / HSB
hsv(221.6 89.3% 65.9%) - HWB
hwb(221.6 7.1% 34.1%) - OKLCH
oklch(41.44% 0.1742 263.03) - CIELAB
lab(29.87% 18.89 -61.19) - CMYK
cmyk(89% 62% 0% 34%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.03:1 · AA
Black text
2.32:1 · Fails
On white
9.03:1 · AAA
On black
2.32: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 #1240A8 · Turn it into a brand palette