#7B68EE

Royal Blue

#7B68EERoyal Blue

Luminance

0.203

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#7B68EE
No #
7B68EE

RGB

RGB
rgb(123, 104, 238)
Values
R:123 G:104 B:238

HSL

HSL
hsl(249, 80%, 67%)
Values
H:249° S:80% L:67%

HSV / HSB

HSV
hsv(249, 56%, 93%)
Values
H:249° S:56% V:93%

CMYK

CMYK
cmyk(48%, 56%, 0%, 7%)
Values
C:48 M:56 Y:0 K:7

LAB

LAB
lab(52, 41, -65)
Values
L:52 a:41 b:-65

OKLCH

OKLCH
oklch(60.4% 0.194 285.5)
Values
L:60.4% C:0.194 H:285.5°

Code Formats

CSS
color: #7B68EE;
Swift
UIColor(red: 0.482, green: 0.408, blue: 0.933, alpha: 1.0)
Kotlin
Color(0xFF7B68EE)
Flutter
Color(0xFF7B68EE)
Android
#FF7B68EE

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.15:1

AA-large

On Black

5.06:1

AA

Grayscale Contrast

Aa

0%

5.1

AA
Aa

10%

4.2

AA-large
Aa

20%

3.0

AA-large
Aa

30%

2.0

Fail
Aa

40%

1.4

Fail
Aa

50%

1.0

Fail
Aa

60%

1.5

Fail
Aa

70%

2.0

Fail
Aa

80%

2.6

Fail
Aa

90%

3.3

AA-large
Aa

100%

4.2

AA-large

Best Grayscale Contrast

#000000 with ratio 5.06: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, #C3BAF7 0%, #3518D8 100%)
OKLCH
linear-gradient(90deg, oklch(81.7% 0.085 291.1) 0%, oklch(42.9% 0.257 273.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #806AFB 0%, #4524FF 100%)
OKLCH
linear-gradient(135deg, oklch(62.1% 0.207 285.6) 0%, oklch(49.3% 0.288 274.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #7B68EE 0%, #DAEE68 100%)
OKLCH
linear-gradient(90deg, oklch(60.4% 0.194 285.5) 0%, oklch(90.8% 0.160 116.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #6897EE 0%, #7B68EE 50%, #BF68EE 100%)
OKLCH
linear-gradient(90deg, oklch(68.1% 0.139 261.9) 0%, oklch(60.4% 0.194 285.5) 50%, oklch(67.2% 0.204 312.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, #6047EB 0%, #140F2E 100%)
OKLCH
linear-gradient(180deg, oklch(53.0% 0.233 281.9) 0%, oklch(19.5% 0.060 286.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #9C8CF2 0%, #4023E7 100%)
OKLCH
radial-gradient(circle, oklch(69.7% 0.147 289.2) 0%, oklch(46.2% 0.265 275.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