#7C66DC

Royal Blue

#7C66DCRoyal Blue

Luminance

0.190

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#7C66DC
No #
7C66DC

RGB

RGB
rgb(124, 102, 220)
Values
R:124 G:102 B:220

HSL

HSL
hsl(251, 63%, 63%)
Values
H:251° S:63% L:63%

HSV / HSB

HSV
hsv(251, 54%, 86%)
Values
H:251° S:54% V:86%

CMYK

CMYK
cmyk(44%, 54%, 0%, 14%)
Values
C:44 M:54 Y:0 K:14

LAB

LAB
lab(51, 37, -58)
Values
L:51 a:37 b:-58

OKLCH

OKLCH
oklch(59.0% 0.173 288.5)
Values
L:59.0% C:0.173 H:288.5°

Code Formats

CSS
color: #7C66DC;
Swift
UIColor(red: 0.486, green: 0.400, blue: 0.863, alpha: 1.0)
Kotlin
Color(0xFF7C66DC)
Flutter
Color(0xFF7C66DC)
Android
#FF7C66DC

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.38:1

AA-large

On Black

4.79:1

AA

Grayscale Contrast

Aa

0%

4.8

AA
Aa

10%

4.0

AA-large
Aa

20%

2.9

Fail
Aa

30%

1.9

Fail
Aa

40%

1.3

Fail
Aa

50%

1.1

Fail
Aa

60%

1.5

Fail
Aa

70%

2.1

Fail
Aa

80%

2.7

Fail
Aa

90%

3.5

AA-large
Aa

100%

4.4

AA-large

Best Grayscale Contrast

#000000 with ratio 4.79: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, #C2B8EF 0%, #4229B3 100%)
OKLCH
linear-gradient(90deg, oklch(81.0% 0.077 292.9) 0%, oklch(41.3% 0.202 281.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #8D77EE 0%, #441EF1 100%)
OKLCH
linear-gradient(135deg, oklch(64.5% 0.172 289.2) 0%, oklch(47.2% 0.277 275.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #7C66DC 0%, #C6DC65 100%)
OKLCH
linear-gradient(90deg, oklch(59.0% 0.173 288.5) 0%, oklch(85.4% 0.147 118.3) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #658BDC 0%, #7C66DC 50%, #B665DC 100%)
OKLCH
linear-gradient(90deg, oklch(64.5% 0.129 264.1) 0%, oklch(59.0% 0.173 288.5) 50%, oklch(64.7% 0.186 313.8) 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, #7059D9 0%, #181529 100%)
OKLCH
linear-gradient(180deg, oklch(55.6% 0.188 286.9) 0%, oklch(21.0% 0.039 289.5) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #A697E7 0%, #4A2DC8 100%)
OKLCH
radial-gradient(circle, oklch(72.0% 0.115 291.8) 0%, oklch(44.6% 0.221 281.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