Skip to main content

#0000FF Blue

#0000FF is Blue.

#0000FF

Blue

What are the RGB, HSL, OKLCH and CMYK values of #0000FF?

HEX
#0000FF
RGB
rgb(0, 0, 255)
HSL
hsl(240, 100%, 50%)
OKLCH
oklch(45.2% 0.313 264)
CMYK
100, 100, 0, 0

#0000FF has a contrast ratio of 8.59:1 against white and 2.44:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #0000FF
#0000FF
Same color
White
8.6AAA
Near-black
2.0Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #0000FF · 8.6:1

Tints and shades of #0000FF

Same hue and chroma in OKLCH, lighter to darker.

  1. #F0F5FF
  2. #C1D6FF
  3. #92B6FF
  4. #6394FF
  5. #326DFF
  6. #0000FF
  7. #0025BF
  8. #001584
  9. #000053

Colors that go with #0000FF

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Electric Violet, #9429FF and Royal Blue, #006BD6 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --blue-1: #0000FF; /* Blue */
}

Palettes, gradients and meshes with #0000FF

Items using this color or one perceptually close to it, closest first.

Nothing on Tinta uses #0000FF yet. Build a palette from it in the Studio.