#1C7ED6

Royal Blue

#1C7ED6Royal Blue

Luminance

0.200

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1C7ED6
No #
1C7ED6

RGB

RGB
rgb(28, 126, 214)
Values
R:28 G:126 B:214

HSL

HSL
hsl(208, 77%, 47%)
Values
H:208° S:77% L:47%

HSV / HSB

HSV
hsv(208, 87%, 84%)
Values
H:208° S:87% V:84%

CMYK

CMYK
cmyk(87%, 41%, 0%, 16%)
Values
C:87 M:41 Y:0 K:16

LAB

LAB
lab(52, 5, -53)
Values
L:52 a:5 b:-53

OKLCH

OKLCH
oklch(58.6% 0.159 251.3)
Values
L:58.6% C:0.159 H:251.3°

Code Formats

CSS
color: #1C7ED6;
Swift
UIColor(red: 0.110, green: 0.494, blue: 0.839, alpha: 1.0)
Kotlin
Color(0xFF1C7ED6)
Flutter
Color(0xFF1C7ED6)
Android
#FF1C7ED6

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.20:1

AA-large

On Black

5.00:1

AA

Grayscale Contrast

Aa

0%

5.0

AA
Aa

10%

4.1

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.00: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, #6AAFEC 0%, #10487A 100%)
OKLCH
linear-gradient(90deg, oklch(73.3% 0.113 246.7) 0%, oklch(39.5% 0.101 250.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #2C98F6 0%, #006DCC 100%)
OKLCH
linear-gradient(135deg, oklch(66.6% 0.168 249.8) 0%, oklch(53.7% 0.169 253.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1C7ED6 0%, #D4721C 100%)
OKLCH
linear-gradient(90deg, oklch(58.6% 0.159 251.3) 0%, oklch(65.2% 0.152 55.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #1CD4CE 0%, #1C7ED6 50%, #1C22D4 100%)
OKLCH
linear-gradient(90deg, oklch(78.7% 0.132 191.1) 0%, oklch(58.6% 0.159 251.3) 50%, oklch(42.1% 0.254 267.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, #1C7ED4 0%, #10202D 100%)
OKLCH
linear-gradient(180deg, oklch(58.4% 0.157 250.8) 0%, oklch(23.6% 0.033 244.4) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #53A3E9 0%, #135690 100%)
OKLCH
radial-gradient(circle, oklch(69.5% 0.130 247.4) 0%, oklch(44.5% 0.114 250.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