#0000FF

Blue

#0000FFBlue

Luminance

0.072

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0000FF
No #
0000FF

RGB

RGB
rgb(0, 0, 255)
Values
R:0 G:0 B:255

HSL

HSL
hsl(240, 100%, 50%)
Values
H:240° S:100% L:50%

HSV / HSB

HSV
hsv(240, 100%, 100%)
Values
H:240° S:100% V:100%

CMYK

CMYK
cmyk(100%, 100%, 0%, 0%)
Values
C:100 M:100 Y:0 K:0

LAB

LAB
lab(32, 79, -108)
Values
L:32 a:79 b:-108

OKLCH

OKLCH
oklch(45.2% 0.313 264.1)
Values
L:45.2% C:0.313 H:264.1°

Code Formats

CSS
color: #0000FF;
Swift
UIColor(red: 0.000, green: 0.000, blue: 1.000, alpha: 1.0)
Kotlin
Color(0xFF0000FF)
Flutter
Color(0xFF0000FF)
Android
#FF0000FF

Contrast Analysis

WCAG compliance with grayscale colors

On White

8.59:1

AAA

On Black

2.44:1

Fail

Grayscale Contrast

Aa

0%

2.4

Fail
Aa

10%

2.0

Fail
Aa

20%

1.5

Fail
Aa

30%

1.0

Fail
Aa

40%

1.5

Fail
Aa

50%

2.1

Fail
Aa

60%

3.0

AA-large
Aa

70%

4.1

AA-large
Aa

80%

5.4

AA
Aa

90%

6.8

AA
Aa

100%

8.6

AAA

Best Grayscale Contrast

#FFFFFF with ratio 8.59:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #6666FF 0%, #000099 100%)
OKLCH
linear-gradient(90deg, oklch(59.8% 0.221 277.4) 0%, oklch(30.9% 0.214 264.1) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #3333FF 0%, #0000CC 100%)
OKLCH
linear-gradient(135deg, oklch(49.7% 0.283 269.8) 0%, oklch(38.2% 0.265 264.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0000FF 0%, #FFFF00 100%)
OKLCH
linear-gradient(90deg, oklch(45.2% 0.313 264.1) 0%, oklch(96.8% 0.211 109.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #007FFF 0%, #0000FF 50%, #7F00FF 100%)
OKLCH
linear-gradient(90deg, oklch(61.3% 0.212 256.3) 0%, oklch(45.2% 0.313 264.1) 50%, oklch(52.9% 0.293 293.6) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #0000FF 0%, #090934 100%)
OKLCH
linear-gradient(180deg, oklch(45.2% 0.313 264.1) 0%, oklch(17.8% 0.082 274.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #4D4DFF 0%, #0000B3 100%)
OKLCH
radial-gradient(circle, oklch(54.4% 0.254 273.9) 0%, oklch(34.7% 0.240 264.1) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette