#4C6EF5

Royal Blue

#4C6EF5Royal Blue

Luminance

0.193

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#4C6EF5
No #
4C6EF5

RGB

RGB
rgb(76, 110, 245)
Values
R:76 G:110 B:245

HSL

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

HSV / HSB

HSV
hsv(228, 69%, 96%)
Values
H:228° S:69% V:96%

CMYK

CMYK
cmyk(69%, 55%, 0%, 4%)
Values
C:69 M:55 Y:0 K:4

LAB

LAB
lab(51, 32, -71)
Values
L:51 a:32 b:-71

OKLCH

OKLCH
oklch(59.0% 0.205 268.6)
Values
L:59.0% C:0.205 H:268.6°

Code Formats

CSS
color: #4C6EF5;
Swift
UIColor(red: 0.298, green: 0.431, blue: 0.961, alpha: 1.0)
Kotlin
Color(0xFF4C6EF5)
Flutter
Color(0xFF4C6EF5)
Android
#FF4C6EF5

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.32:1

AA-large

On Black

4.86:1

AA

Grayscale Contrast

Aa

0%

4.9

AA
Aa

10%

4.0

AA-large
Aa

20%

2.9

Fail
Aa

30%

2.0

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.4

AA-large
Aa

100%

4.3

AA-large

Best Grayscale Contrast

#000000 with ratio 4.86: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, #ADBDFA 0%, #0C33CF 100%)
OKLCH
linear-gradient(90deg, oklch(80.8% 0.088 272.9) 0%, oklch(43.1% 0.237 264.8) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #6685FF 0%, #0F3FFF 100%)
OKLCH
linear-gradient(135deg, oklch(65.4% 0.184 270.0) 0%, oklch(50.1% 0.280 264.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #4C6EF5 0%, #F5D34D 100%)
OKLCH
linear-gradient(90deg, oklch(59.0% 0.205 268.6) 0%, oklch(87.2% 0.152 94.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #4DC2F5 0%, #4C6EF5 50%, #7F4DF5 100%)
OKLCH
linear-gradient(90deg, oklch(76.9% 0.126 230.5) 0%, oklch(59.0% 0.205 268.6) 50%, oklch(57.3% 0.236 290.7) 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, #3E63F4 0%, #0D1431 100%)
OKLCH
linear-gradient(180deg, oklch(56.2% 0.221 267.6) 0%, oklch(20.4% 0.058 270.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #879DF8 0%, #0D39E7 100%)
OKLCH
radial-gradient(circle, oklch(71.7% 0.135 272.3) 0%, oklch(46.7% 0.259 264.7) 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