#4169E1

Royal Blue

#4169E1Royal Blue

Luminance

0.167

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#4169E1
No #
4169E1

RGB

RGB
rgb(65, 105, 225)
Values
R:65 G:105 B:225

HSL

HSL
hsl(225, 73%, 57%)
Values
H:225° S:73% L:57%

HSV / HSB

HSV
hsv(225, 71%, 88%)
Values
H:225° S:71% V:88%

CMYK

CMYK
cmyk(71%, 53%, 0%, 12%)
Values
C:71 M:53 Y:0 K:12

LAB

LAB
lab(48, 26, -65)
Values
L:48 a:26 b:-65

OKLCH

OKLCH
oklch(56.0% 0.188 266.4)
Values
L:56.0% C:0.188 H:266.4°

Code Formats

CSS
color: #4169E1;
Swift
UIColor(red: 0.255, green: 0.412, blue: 0.882, alpha: 1.0)
Kotlin
Color(0xFF4169E1)
Flutter
Color(0xFF4169E1)
Android
#FF4169E1

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.85:1

AA

On Black

4.33:1

AA-large

Grayscale Contrast

Aa

0%

4.3

AA-large
Aa

10%

3.6

AA-large
Aa

20%

2.6

Fail
Aa

30%

1.7

Fail
Aa

40%

1.2

Fail
Aa

50%

1.2

Fail
Aa

60%

1.7

Fail
Aa

70%

2.3

Fail
Aa

80%

3.0

AA-large
Aa

90%

3.8

AA-large
Aa

100%

4.8

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.85: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, #9AAFEF 0%, #193CA3 100%)
OKLCH
linear-gradient(90deg, oklch(76.2% 0.095 270.1) 0%, oklch(40.4% 0.171 264.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #6186F5 0%, #023DED 100%)
OKLCH
linear-gradient(135deg, oklch(64.7% 0.170 267.6) 0%, oklch(47.7% 0.263 263.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #4169E1 0%, #E1B941 100%)
OKLCH
linear-gradient(90deg, oklch(56.0% 0.188 266.4) 0%, oklch(80.0% 0.141 90.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #41B9E1 0%, #4169E1 50%, #6941E1 100%)
OKLCH
linear-gradient(90deg, oklch(73.6% 0.119 224.4) 0%, oklch(56.0% 0.188 266.4) 50%, oklch(52.1% 0.227 287.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, #4169E1 0%, #11182C 100%)
OKLCH
linear-gradient(180deg, oklch(56.0% 0.188 266.4) 0%, oklch(21.3% 0.041 268.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #839EEC 0%, #1D44B9 100%)
OKLCH
radial-gradient(circle, oklch(71.1% 0.119 268.7) 0%, oklch(44.1% 0.189 265.0) 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