#227AD3 — Blue

#227AD3 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.

#227AD3 color swatch, blue#227AD3
CSS Nameroyalblue (closest)

Tints and shades (50–950)

50#f0f6fd
100#dfebfb
200#c2dcfb
300#95c4fb
400#5fa5f6
500#328dec
600#1d7ad6
700#0565b8
800#00539c
900#004685
950#002952

Accessibility

Contrast on white
4.38:1
Contrast on black
4.79: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 252.9); /* #f0f6fd */
  --brand-100: oklch(0.936 0.025 252.9); /* #dfebfb */
  --brand-200: oklch(0.885 0.052 252.9); /* #c2dcfb */
  --brand-300: oklch(0.808 0.093 252.9); /* #95c4fb */
  --brand-400: oklch(0.712 0.138 252.9); /* #5fa5f6 */
  --brand-500: oklch(0.637 0.166 252.9); /* #328dec */
  --brand-600: oklch(0.577 0.163 252.9); /* #1d7ad6 */
  --brand-700: oklch(0.505 0.153 252.9); /* #0565b8 */
  --brand-800: oklch(0.444 0.136 252.9); /* #00539c */
  --brand-900: oklch(0.396 0.122 252.9); /* #004685 */
  --brand-950: oklch(0.281 0.086 252.9); /* #002952 */
}

Explore other colors