#20315EDark Blue

#20315E is a dark blue in the Blue family. In practice it looks like a soft, dusty medium-dark navy blue, and it is also commonly known as Navy Blue, Sapphire. Below are all of its color space values, an 11-step scale, harmony palettes and accessibility data.

#20315E
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f3f5fa
100#e6eaf3
200#d1d9ec
300#b2c0e1
400#8da2d0
500#738ac1
600#6278ac
700#4f6393
800#41527b
900#36456a
950#1f2840

Accessibility

Contrast on white
12.63:1
Contrast on black
1.66: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.006 266.3); /* #f3f5fa */
  --brand-100: oklch(0.936 0.013 266.3); /* #e6eaf3 */
  --brand-200: oklch(0.885 0.027 266.3); /* #d1d9ec */
  --brand-300: oklch(0.808 0.049 266.3); /* #b2c0e1 */
  --brand-400: oklch(0.712 0.072 266.3); /* #8da2d0 */
  --brand-500: oklch(0.637 0.087 266.3); /* #738ac1 */
  --brand-600: oklch(0.577 0.085 266.3); /* #6278ac */
  --brand-700: oklch(0.505 0.08 266.3); /* #4f6393 */
  --brand-800: oklch(0.444 0.071 266.3); /* #41527b */
  --brand-900: oklch(0.396 0.064 266.3); /* #36456a */
  --brand-950: oklch(0.281 0.045 266.3); /* #1f2840 */
}

Explore other colors