#2878DC — Blue

#2878DC 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.

#2878DC color swatch, blue#2878DC
CSS Nameroyalblue (closest)

Tints and shades (50–950)

50#f0f6fe
100#dfebfc
200#c2dbfe
300#97c3ff
400#60a3fd
500#368af5
600#2377de
700#1062c0
800#0851a2
900#04448c
950#022856

Accessibility

Contrast on white
4.37:1
Contrast on black
4.81: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.013 256.3); /* #f0f6fe */
  --brand-100: oklch(0.936 0.027 256.3); /* #dfebfc */
  --brand-200: oklch(0.885 0.056 256.3); /* #c2dbfe */
  --brand-300: oklch(0.808 0.098 256.3); /* #97c3ff */
  --brand-400: oklch(0.712 0.149 256.3); /* #60a3fd */
  --brand-500: oklch(0.637 0.179 256.3); /* #368af5 */
  --brand-600: oklch(0.577 0.176 256.3); /* #2377de */
  --brand-700: oklch(0.505 0.165 256.3); /* #1062c0 */
  --brand-800: oklch(0.444 0.147 256.3); /* #0851a2 */
  --brand-900: oklch(0.396 0.133 256.3); /* #04448c */
  --brand-950: oklch(0.281 0.093 256.3); /* #022856 */
}

Explore other colors