Blue

blue is a CSS color keyword. The closest Tailwind step is violet-700 (#6d28d9).

#0000ffrgb(0, 0, 255)
Hex
#0000ff
RGB
0, 0, 255
HSL
240°, 100%, 50%
OKLCH
45.2% 0.313 264.1
LAB
32.3 79.2 -107.9

Open #0000ff in the explorer

Text contrast

Black or white text on #0000ff. AA needs 4.5:1 and AAA needs 7:1. APCA Lc is a separate readability score.

Black text2.4:1 FailAPCA Lc 18
White text8.6:1 AAAAPCA Lc -91

Color vision

How #0000ff looks in simulations of color blindness, at full severity.

Full color
#0000ff
Protanopia
#0059ff
Deuteranopia
#003dfb
Tritanopia
#006b96

Tonal scale

An OKLCH ramp that keeps this hue. The marked step is the closest lightness to blue.

Copy into CSS

color: blue;
background: #0000ff;
@theme {
  --color-blue-50: #f0f5ff;
  --color-blue-100: #dde8ff;
  --color-blue-200: #bad1ff;
  --color-blue-300: #8eb3ff;
  --color-blue-400: #6293ff;
  --color-blue-500: #306bff;
  --color-blue-600: #0037ff;
  --color-blue-700: #0028cb;
  --color-blue-800: #001b98;
  --color-blue-900: #000c6a;
  --color-blue-950: #00003c;
}