#6741D9

Royal Blue

#6741D9Royal Blue

Luminance

0.117

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#6741D9
No #
6741D9

RGB

RGB
rgb(103, 65, 217)
Values
R:103 G:65 B:217

HSL

HSL
hsl(255, 67%, 55%)
Values
H:255° S:67% L:55%

HSV / HSB

HSV
hsv(255, 70%, 85%)
Values
H:255° S:70% V:85%

CMYK

CMYK
cmyk(53%, 70%, 0%, 15%)
Values
C:53 M:70 Y:0 K:15

LAB

LAB
lab(41, 53, -72)
Values
L:41 a:53 b:-72

OKLCH

OKLCH
oklch(51.2% 0.218 287.5)
Values
L:51.2% C:0.218 H:287.5°

Code Formats

CSS
color: #6741D9;
Swift
UIColor(red: 0.404, green: 0.255, blue: 0.851, alpha: 1.0)
Kotlin
Color(0xFF6741D9)
Flutter
Color(0xFF6741D9)
Android
#FF6741D9

Contrast Analysis

WCAG compliance with grayscale colors

On White

6.30:1

AA

On Black

3.33:1

AA-large

Grayscale Contrast

Aa

0%

3.3

AA-large
Aa

10%

2.8

Fail
Aa

20%

2.0

Fail
Aa

30%

1.3

Fail
Aa

40%

1.1

Fail
Aa

50%

1.6

Fail
Aa

60%

2.2

Fail
Aa

70%

3.0

AA-large
Aa

80%

3.9

AA-large
Aa

90%

5.0

AA
Aa

100%

6.3

AA

Best Grayscale Contrast

#FFFFFF with ratio 6.30: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, #AA95EA 0%, #3B1D95 100%)
OKLCH
linear-gradient(90deg, oklch(72.1% 0.123 294.5) 0%, oklch(36.2% 0.179 284.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #815DEF 0%, #3E09DC 100%)
OKLCH
linear-gradient(135deg, oklch(59.3% 0.209 289.8) 0%, oklch(43.3% 0.265 276.3) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #6741D9 0%, #B3D93F 100%)
OKLCH
linear-gradient(90deg, oklch(51.2% 0.218 287.5) 0%, oklch(83.0% 0.179 122.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #3F66D9 0%, #6741D9 50%, #B33FD9 100%)
OKLCH
linear-gradient(90deg, oklch(54.7% 0.182 266.3) 0%, oklch(51.2% 0.218 287.5) 50%, oklch(59.6% 0.233 316.4) 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, #663FD9 0%, #19132A 100%)
OKLCH
linear-gradient(180deg, oklch(50.8% 0.220 287.4) 0%, oklch(20.7% 0.045 294.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #997FE6 0%, #4422AA 100%)
OKLCH
radial-gradient(circle, oklch(66.5% 0.150 293.5) 0%, oklch(39.8% 0.198 284.4) 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