#0D1772Dark Blue

#0D1772 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.

#0D1772
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f2f5fd
100#e3eafb
200#cbd9fb
300#a7bffb
400#7e9ef5
500#6184eb
600#5272d5
700#415db7
800#344d9b
900#2b4185
950#172551

Accessibility

Contrast on white
15.19:1
Contrast on black
1.38: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.011 267.8); /* #f2f5fd */
  --brand-100: oklch(0.936 0.024 267.8); /* #e3eafb */
  --brand-200: oklch(0.885 0.049 267.8); /* #cbd9fb */
  --brand-300: oklch(0.808 0.089 267.8); /* #a7bffb */
  --brand-400: oklch(0.712 0.132 267.8); /* #7e9ef5 */
  --brand-500: oklch(0.637 0.159 267.8); /* #6184eb */
  --brand-600: oklch(0.577 0.156 267.8); /* #5272d5 */
  --brand-700: oklch(0.505 0.146 267.8); /* #415db7 */
  --brand-800: oklch(0.444 0.131 267.8); /* #344d9b */
  --brand-900: oklch(0.396 0.118 267.8); /* #2b4185 */
  --brand-950: oklch(0.281 0.083 267.8); /* #172551 */
}

Explore other colors