#1976D2

Royal Blue

#1976D2Royal Blue

Luminance

0.178

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1976D2
No #
1976D2

RGB

RGB
rgb(25, 118, 210)
Values
R:25 G:118 B:210

HSL

HSL
hsl(210, 79%, 46%)
Values
H:210° S:79% L:46%

HSV / HSB

HSV
hsv(210, 88%, 82%)
Values
H:210° S:88% V:82%

CMYK

CMYK
cmyk(88%, 44%, 0%, 18%)
Values
C:88 M:44 Y:0 K:18

LAB

LAB
lab(49, 8, -55)
Values
L:49 a:8 b:-55

OKLCH

OKLCH
oklch(56.5% 0.163 253.3)
Values
L:56.5% C:0.163 H:253.3°

Code Formats

CSS
color: #1976D2;
Swift
UIColor(red: 0.098, green: 0.463, blue: 0.824, alpha: 1.0)
Kotlin
Color(0xFF1976D2)
Flutter
Color(0xFF1976D2)
Android
#FF1976D2

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.60:1

AA

On Black

4.56:1

AA

Grayscale Contrast

Aa

0%

4.6

AA
Aa

10%

3.8

AA-large
Aa

20%

2.7

Fail
Aa

30%

1.8

Fail
Aa

40%

1.2

Fail
Aa

50%

1.1

Fail
Aa

60%

1.6

Fail
Aa

70%

2.2

Fail
Aa

80%

2.9

Fail
Aa

90%

3.7

AA-large
Aa

100%

4.6

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.60: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, #64A8ED 0%, #0E4277 100%)
OKLCH
linear-gradient(90deg, oklch(71.5% 0.123 250.2) 0%, oklch(37.7% 0.105 253.1) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #258FF8 0%, #0066CC 100%)
OKLCH
linear-gradient(135deg, oklch(64.7% 0.181 252.9) 0%, oklch(52.2% 0.177 255.8) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1976D2 0%, #D27519 100%)
OKLCH
linear-gradient(90deg, oklch(56.5% 0.163 253.3) 0%, oklch(65.4% 0.149 57.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #19D2D2 0%, #1976D2 50%, #1919D2 100%)
OKLCH
linear-gradient(90deg, oklch(78.3% 0.131 194.8) 0%, oklch(56.5% 0.163 253.3) 50%, oklch(40.9% 0.258 267.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, #1975D2 0%, #101F2E 100%)
OKLCH
linear-gradient(180deg, oklch(56.2% 0.164 253.7) 0%, oklch(23.4% 0.036 249.6) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #4D9CEA 0%, #114F8D 100%)
OKLCH
radial-gradient(circle, oklch(67.8% 0.140 250.4) 0%, oklch(42.5% 0.119 253.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