#021160Dark Blue

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

#021160
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f2f5fd
100#e3eaf9
200#cbd9f8
300#a7c0f5
400#7da0ed
500#5f87e2
600#4f75cc
700#3e60b0
800#324f94
900#29437f
950#16274e

Accessibility

Contrast on white
16.78:1
Contrast on black
1.25: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.01 264.8); /* #f2f5fd */
  --brand-100: oklch(0.936 0.022 264.8); /* #e3eaf9 */
  --brand-200: oklch(0.885 0.045 264.8); /* #cbd9f8 */
  --brand-300: oklch(0.808 0.081 264.8); /* #a7c0f5 */
  --brand-400: oklch(0.712 0.12 264.8); /* #7da0ed */
  --brand-500: oklch(0.637 0.144 264.8); /* #5f87e2 */
  --brand-600: oklch(0.577 0.141 264.8); /* #4f75cc */
  --brand-700: oklch(0.505 0.133 264.8); /* #3e60b0 */
  --brand-800: oklch(0.444 0.118 264.8); /* #324f94 */
  --brand-900: oklch(0.396 0.107 264.8); /* #29437f */
  --brand-950: oklch(0.281 0.075 264.8); /* #16274e */
}

Explore other colors