#6366F1

Royal Blue

#6366F1Royal Blue

Luminance

0.185

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#6366F1
No #
6366F1

RGB

RGB
rgb(99, 102, 241)
Values
R:99 G:102 B:241

HSL

HSL
hsl(239, 84%, 67%)
Values
H:239° S:84% L:67%

HSV / HSB

HSV
hsv(239, 59%, 95%)
Values
H:239° S:59% V:95%

CMYK

CMYK
cmyk(59%, 58%, 0%, 5%)
Values
C:59 M:58 Y:0 K:5

LAB

LAB
lab(50, 39, -70)
Values
L:50 a:39 b:-70

OKLCH

OKLCH
oklch(58.5% 0.204 277.1)
Values
L:58.5% C:0.204 H:277.1°

Code Formats

CSS
color: #6366F1;
Swift
UIColor(red: 0.388, green: 0.400, blue: 0.945, alpha: 1.0)
Kotlin
Color(0xFF6366F1)
Flutter
Color(0xFF6366F1)
Android
#FF6366F1

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.47:1

AA-large

On Black

4.70:1

AA

Grayscale Contrast

Aa

0%

4.7

AA
Aa

10%

3.9

AA-large
Aa

20%

2.8

Fail
Aa

30%

1.9

Fail
Aa

40%

1.3

Fail
Aa

50%

1.1

Fail
Aa

60%

1.6

Fail
Aa

70%

2.1

Fail
Aa

80%

2.8

Fail
Aa

90%

3.5

AA-large
Aa

100%

4.5

AA-large

Best Grayscale Contrast

#000000 with ratio 4.70: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, #B9BAF9 0%, #1317DD 100%)
OKLCH
linear-gradient(90deg, oklch(81.0% 0.089 283.5) 0%, oklch(42.0% 0.271 266.0) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #6769FE 0%, #2427FF 100%)
OKLCH
linear-gradient(135deg, oklch(60.3% 0.216 277.2) 0%, oklch(48.0% 0.294 267.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #6366F1 0%, #F2EF64 100%)
OKLCH
linear-gradient(90deg, oklch(58.5% 0.204 277.1) 0%, oklch(92.9% 0.159 108.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #64ADF2 0%, #6366F1 50%, #A864F2 100%)
OKLCH
linear-gradient(90deg, oklch(72.9% 0.125 248.6) 0%, oklch(58.5% 0.204 277.1) 50%, oklch(64.3% 0.207 303.1) 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, #4346EF 0%, #0E0F2F 100%)
OKLCH
linear-gradient(180deg, oklch(51.3% 0.245 272.9) 0%, oklch(19.0% 0.063 277.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #8A8BF5 0%, #1E21EB 100%)
OKLCH
radial-gradient(circle, oklch(68.3% 0.154 281.1) 0%, oklch(44.9% 0.278 267.2) 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