#0072C3

Cobalt

#0072C3Cobalt

Luminance

0.160

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0072C3
No #
0072C3

RGB

RGB
rgb(0, 114, 195)
Values
R:0 G:114 B:195

HSL

HSL
hsl(205, 100%, 38%)
Values
H:205° S:100% L:38%

HSV / HSB

HSV
hsv(205, 100%, 76%)
Values
H:205° S:100% V:76%

CMYK

CMYK
cmyk(100%, 42%, 0%, 24%)
Values
C:100 M:42 Y:0 K:24

LAB

LAB
lab(47, 4, -50)
Values
L:47 a:4 b:-50

OKLCH

OKLCH
oklch(54.3% 0.152 249.6)
Values
L:54.3% C:0.152 H:249.6°

Code Formats

CSS
color: #0072C3;
Swift
UIColor(red: 0.000, green: 0.447, blue: 0.765, alpha: 1.0)
Kotlin
Color(0xFF0072C3)
Flutter
Color(0xFF0072C3)
Android
#FF0072C3

Contrast Analysis

WCAG compliance with grayscale colors

On White

5.01:1

AA

On Black

4.19:1

AA-large

Grayscale Contrast

Aa

0%

4.2

AA-large
Aa

10%

3.5

AA-large
Aa

20%

2.5

Fail
Aa

30%

1.7

Fail
Aa

40%

1.1

Fail
Aa

50%

1.3

Fail
Aa

60%

1.8

Fail
Aa

70%

2.4

Fail
Aa

80%

3.1

AA-large
Aa

90%

4.0

AA-large
Aa

100%

5.0

AA

Best Grayscale Contrast

#FFFFFF with ratio 5.01: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, #29A6FF 0%, #004A80 100%)
OKLCH
linear-gradient(90deg, oklch(70.2% 0.166 245.9) 0%, oklch(40.1% 0.110 248.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #008FF5 0%, #0077CC 100%)
OKLCH
linear-gradient(135deg, oklch(64.1% 0.182 250.2) 0%, oklch(56.0% 0.158 249.8) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0072C3 0%, #C25100 100%)
OKLCH
linear-gradient(90deg, oklch(54.3% 0.152 249.6) 0%, oklch(57.4% 0.162 45.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #00C2B2 0%, #0072C3 50%, #0010C2 100%)
OKLCH
linear-gradient(90deg, oklch(73.2% 0.129 184.5) 0%, oklch(54.3% 0.152 249.6) 50%, oklch(37.6% 0.249 264.2) 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, #0071C2 0%, #092234 100%)
OKLCH
linear-gradient(180deg, oklch(54.0% 0.152 249.8) 0%, oklch(24.3% 0.046 243.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #0F9BFF 0%, #005999 100%)
OKLCH
radial-gradient(circle, oklch(67.4% 0.181 248.6) 0%, oklch(45.5% 0.126 249.2) 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