#0A2251Dark Blue

#0A2251 is a dark blue in the Blue family. In practice it looks like a soft, dusty 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.

#0A2251
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f3f6fa
100#e5eaf4
200#cfdaed
300#aec1e4
400#87a3d4
500#6b8bc6
600#5a79b1
700#486497
800#3b537f
900#31466d
950#1b2942

Accessibility

Contrast on white
15.44:1
Contrast on black
1.36: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.007 262); /* #f3f6fa */
  --brand-100: oklch(0.936 0.014 262); /* #e5eaf4 */
  --brand-200: oklch(0.885 0.03 262); /* #cfdaed */
  --brand-300: oklch(0.808 0.054 262); /* #aec1e4 */
  --brand-400: oklch(0.712 0.08 262); /* #87a3d4 */
  --brand-500: oklch(0.637 0.096 262); /* #6b8bc6 */
  --brand-600: oklch(0.577 0.094 262); /* #5a79b1 */
  --brand-700: oklch(0.505 0.088 262); /* #486497 */
  --brand-800: oklch(0.444 0.079 262); /* #3b537f */
  --brand-900: oklch(0.396 0.071 262); /* #31466d */
  --brand-950: oklch(0.281 0.05 262); /* #1b2942 */
}

Explore other colors