Colors

#0000FF

Blue

Blue is #0000FF. In CSS you can write it as the keyword blue. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#3333FF

20% white

#6666FF

40% white

#9999FF

60% white

#CCCCFF

80% white

Shades

#0000CC

20% black

#000099

40% black

#000066

60% black

#000033

80% black

Harmony palettes

These schemes rotate hue from Blue. Read the relationships in color theory 101 or adjust them on the color wheel.

#0000FF

#FFFF00

#6767E4

#E4E467

#2D2D86

#0080FF

#0000FF

#8000FF

#FF00FF

#13ECEC

#0000FF

#FF0000

#00FF00

#E46767

#1FAD1F

Split Complementary

Open in palette generator

#0000FF

#FF8000

#80FF00

#8585E0

#86862D

#000066

#0000B3

#0000FF

#4D4DFF

#9999FF

#0000FF

#FF0080

#FFFF00

#00FF80

#DD5F9E

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 8.59:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass
On black · 2.44:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color