#1565C0

Cobalt

#1565C0Cobalt

Luminance

0.133

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1565C0
No #
1565C0

RGB

RGB
rgb(21, 101, 192)
Values
R:21 G:101 B:192

HSL

HSL
hsl(212, 80%, 42%)
Values
H:212° S:80% L:42%

HSV / HSB

HSV
hsv(212, 89%, 75%)
Values
H:212° S:89% V:75%

CMYK

CMYK
cmyk(89%, 47%, 0%, 25%)
Values
C:89 M:47 Y:0 K:25

LAB

LAB
lab(43, 12, -54)
Values
L:43 a:12 b:-54

OKLCH

OKLCH
oklch(51.3% 0.160 255.7)
Values
L:51.3% C:0.160 H:255.7°

Code Formats

CSS
color: #1565C0;
Swift
UIColor(red: 0.082, green: 0.396, blue: 0.753, alpha: 1.0)
Kotlin
Color(0xFF1565C0)
Flutter
Color(0xFF1565C0)
Android
#FF1565C0

Contrast Analysis

WCAG compliance with grayscale colors

On White

5.75:1

AA

On Black

3.65:1

AA-large

Grayscale Contrast

Aa

0%

3.7

AA-large
Aa

10%

3.0

AA-large
Aa

20%

2.2

Fail
Aa

30%

1.5

Fail
Aa

40%

1.0

Fail
Aa

50%

1.4

Fail
Aa

60%

2.0

Fail
Aa

70%

2.7

Fail
Aa

80%

3.6

AA-large
Aa

90%

4.6

AA
Aa

100%

5.7

AA

Best Grayscale Contrast

#FFFFFF with ratio 5.75: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, #5199EC 0%, #0D3C73 100%)
OKLCH
linear-gradient(90deg, oklch(67.4% 0.143 253.5) 0%, oklch(35.9% 0.107 255.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #107DF9 0%, #005FCC 100%)
OKLCH
linear-gradient(135deg, oklch(60.6% 0.206 256.7) 0%, oklch(50.7% 0.185 257.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1565C0 0%, #C17115 100%)
OKLCH
linear-gradient(90deg, oklch(51.3% 0.160 255.7) 0%, oklch(62.4% 0.138 61.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #15BBC1 0%, #1565C0 50%, #1B15C1 100%)
OKLCH
linear-gradient(90deg, oklch(72.1% 0.120 199.0) 0%, oklch(51.3% 0.160 255.7) 50%, oklch(38.5% 0.241 268.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, #1565C1 0%, #0F1E2E 100%)
OKLCH
linear-gradient(180deg, oklch(51.4% 0.162 255.9) 0%, oklch(23.0% 0.037 251.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #3A8CE9 0%, #0F488A 100%)
OKLCH
radial-gradient(circle, oklch(63.6% 0.161 254.0) 0%, oklch(40.6% 0.124 255.6) 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