#317FDB — Blue

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

#317FDB color swatch, blue#317FDB
CSS Nameroyalblue (closest)

Tints and shades (50–950)

50#f0f6fd
100#dfebfb
200#c3dcfc
300#97c3fc
400#63a4f7
500#398bee
600#2679d7
700#1463ba
800#0c529d
900#074587
950#032853

Accessibility

Contrast on white
4.05:1
Contrast on black
5.19:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • 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.012 254.9); /* #f0f6fd */
  --brand-100: oklch(0.936 0.025 254.9); /* #dfebfb */
  --brand-200: oklch(0.885 0.052 254.9); /* #c3dcfc */
  --brand-300: oklch(0.808 0.094 254.9); /* #97c3fc */
  --brand-400: oklch(0.712 0.139 254.9); /* #63a4f7 */
  --brand-500: oklch(0.637 0.167 254.9); /* #398bee */
  --brand-600: oklch(0.577 0.164 254.9); /* #2679d7 */
  --brand-700: oklch(0.505 0.154 254.9); /* #1463ba */
  --brand-800: oklch(0.444 0.137 254.9); /* #0c529d */
  --brand-900: oklch(0.396 0.124 254.9); /* #074587 */
  --brand-950: oklch(0.281 0.087 254.9); /* #032853 */
}

Explore other colors