#0000FF

#0000FF is the hex color Blue. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #0000FF; the exact match is Blue.

Open #0000FF in the picker

#0000FF color codes

HEX
#0000FF
HEX8
#0000FFFF
HEX8 (Android)
#FF0000FF
RGB
rgb(0, 0, 255)
RGB (%)
0%, 0%, 100%
HSL
hsl(240, 100%, 50%)
HSV / HSB
hsv(240, 100%, 100%)
CMYK
cmyk(100%, 100%, 0%, 0%)
OKLCH
oklch(0.452 0.3132 264.05)
OKLCH (%)
oklch(45.2% 0.3132 264.05)
Decimal
255

What color is #0000FF?

#0000FF sits at 45% lightness and 0.3132 chroma in OKLCH, hue 264.05°. Its nearest named color is Blue (an exact match).

Shades and tints of #0000FF

Tints

Shades

Tones

#0000FF color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #0000FF in CSS

.text       { color: #0000FF; }
.background { background-color: #0000FF; }
.border     { border: 2px solid #0000FF; }

/* Modern, perceptually uniform */
.text { color: oklch(0.452 0.3132 264.05); }

/* #0000FF at 50% transparency */
.overlay { background-color: #0000FF80; }

Is #0000FF accessible?

#0000FF on white text scores 8.59:1; on black text it scores 2.44:1. White text passes WCAG AAA on #0000FF. Recommended text color on a #0000FF background: white.

A 2.44:1 vs black
A 8.59:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#0000FF) → white
APCA Lc experimental 90.7 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.

Frequently asked questions

What color is #0000FF?
#0000FF is Blue. In RGB it is rgb(0, 0, 255), and in HSL hsl(240, 100%, 50%).
What is #0000FF in RGB?
#0000FF converts to rgb(0, 0, 255) — red 0, green 0, blue 255.
What text color is readable on #0000FF?
White text — it has the higher contrast ratio (8.59:1) against #0000FF. White text passes WCAG AAA on #0000FF.
Open #0000FF in the picker