#5D8DEF — Blue

#5D8DEF 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.

#5D8DEF color swatch, blue#5D8DEF
CSS Namecornflowerblue (closest)

Tints and shades (50–950)

50#f1f6fd
100#e1eafb
200#c8dafc
300#a1c0fc
400#75a0f7
500#5587ed
600#4574d7
700#355fb9
800#2a4f9d
900#224287
950#122652

Accessibility

Contrast on white
3.22:1
Contrast on black
6.52: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.011 263.1); /* #f1f6fd */
  --brand-100: oklch(0.936 0.024 263.1); /* #e1eafb */
  --brand-200: oklch(0.885 0.051 263.1); /* #c8dafc */
  --brand-300: oklch(0.808 0.091 263.1); /* #a1c0fc */
  --brand-400: oklch(0.712 0.136 263.1); /* #75a0f7 */
  --brand-500: oklch(0.637 0.163 263.1); /* #5587ed */
  --brand-600: oklch(0.577 0.16 263.1); /* #4574d7 */
  --brand-700: oklch(0.505 0.15 263.1); /* #355fb9 */
  --brand-800: oklch(0.444 0.134 263.1); /* #2a4f9d */
  --brand-900: oklch(0.396 0.121 263.1); /* #224287 */
  --brand-950: oklch(0.281 0.085 263.1); /* #122652 */
}

Explore other colors