#2B74CE — Blue

#2B74CE 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.

#2B74CE color swatch, blue#2B74CE
CSS Nameroyalblue (closest)

Tints and shades (50–950)

50#f0f6fd
100#dfebfb
200#c4dbfb
300#99c3fb
400#66a4f6
500#3e8bec
600#2d79d6
700#1b63b8
800#14529c
900#0e4586
950#062852

Accessibility

Contrast on white
4.67:1
Contrast on black
4.49:1
  • AA (4.5:1) on whitePass
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whiteFail
  • 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.011 255.8); /* #f0f6fd */
  --brand-100: oklch(0.936 0.025 255.8); /* #dfebfb */
  --brand-200: oklch(0.885 0.051 255.8); /* #c4dbfb */
  --brand-300: oklch(0.808 0.092 255.8); /* #99c3fb */
  --brand-400: oklch(0.712 0.136 255.8); /* #66a4f6 */
  --brand-500: oklch(0.637 0.164 255.8); /* #3e8bec */
  --brand-600: oklch(0.577 0.161 255.8); /* #2d79d6 */
  --brand-700: oklch(0.505 0.151 255.8); /* #1b63b8 */
  --brand-800: oklch(0.444 0.135 255.8); /* #14529c */
  --brand-900: oklch(0.396 0.122 255.8); /* #0e4586 */
  --brand-950: oklch(0.281 0.085 255.8); /* #062852 */
}

Explore other colors