#240A80Dark Indigo

#240A80 is a dark indigo in the Indigo family. In practice it looks like a balanced dark midnight indigo, and it is also commonly known as Midnight Indigo. Below are all of its color space values, an 11-step scale, harmony palettes and accessibility data.

#240A80
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f3f5fe
100#e5e9fc
200#d0d6ff
300#b1baff
400#8d96fe
500#757af6
600#6568df
700#5254c1
800#4445a3
900#393a8c
950#202156

Accessibility

Contrast on white
14.68:1
Contrast on black
1.43:1
  • AA (4.5:1) on whitePass
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whitePass
  • AAA Large (4.5:1) on whitePass
  • UI components (3:1) on whitePass

Need a passing variant? Repair this color in the contrast checker.

Complementary palette

Analogous palette

Triadic palette

Copy-ready CSS

brand-scale.css
:root {
  --brand-50: oklch(0.971 0.013 278); /* #f3f5fe */
  --brand-100: oklch(0.936 0.027 278); /* #e5e9fc */
  --brand-200: oklch(0.885 0.056 278); /* #d0d6ff */
  --brand-300: oklch(0.808 0.097 278); /* #b1baff */
  --brand-400: oklch(0.712 0.15 278); /* #8d96fe */
  --brand-500: oklch(0.637 0.181 278); /* #757af6 */
  --brand-600: oklch(0.577 0.177 278); /* #6568df */
  --brand-700: oklch(0.505 0.167 278); /* #5254c1 */
  --brand-800: oklch(0.444 0.149 278); /* #4445a3 */
  --brand-900: oklch(0.396 0.134 278); /* #393a8c */
  --brand-950: oklch(0.281 0.094 278); /* #202156 */
}

Explore other colors