#4098EB — Blue

#4098EB 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.

#4098EB color swatch, blue#4098EB
CSS Namecornflowerblue (closest)

Tints and shades (50–950)

50#f0f6fd
100#deebf9
200#c2dcf9
300#95c5f7
400#5ea7f0
500#2f8fe6
600#187cd0
700#0067b2
800#005595
900#004880
950#002a4e

Accessibility

Contrast on white
3.04:1
Contrast on black
6.91: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 250); /* #f0f6fd */
  --brand-100: oklch(0.936 0.024 250); /* #deebf9 */
  --brand-200: oklch(0.885 0.049 250); /* #c2dcf9 */
  --brand-300: oklch(0.808 0.088 250); /* #95c5f7 */
  --brand-400: oklch(0.712 0.13 250); /* #5ea7f0 */
  --brand-500: oklch(0.637 0.157 250); /* #2f8fe6 */
  --brand-600: oklch(0.577 0.154 250); /* #187cd0 */
  --brand-700: oklch(0.505 0.143 250); /* #0067b2 */
  --brand-800: oklch(0.444 0.126 250); /* #005595 */
  --brand-900: oklch(0.396 0.112 250); /* #004880 */
  --brand-950: oklch(0.281 0.08 250); /* #002a4e */
}

Explore other colors