#0D47A1

Cobalt

#0D47A1Cobalt

Luminance

0.072

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0D47A1
No #
0D47A1

RGB

RGB
rgb(13, 71, 161)
Values
R:13 G:71 B:161

HSL

HSL
hsl(216, 85%, 34%)
Values
H:216° S:85% L:34%

HSV / HSB

HSV
hsv(216, 92%, 63%)
Values
H:216° S:92% V:63%

CMYK

CMYK
cmyk(92%, 56%, 0%, 37%)
Values
C:92 M:56 Y:0 K:37

LAB

LAB
lab(32, 19, -53)
Values
L:32 a:19 b:-53

OKLCH

OKLCH
oklch(42.2% 0.157 259.9)
Values
L:42.2% C:0.157 H:259.9°

Code Formats

CSS
color: #0D47A1;
Swift
UIColor(red: 0.051, green: 0.278, blue: 0.631, alpha: 1.0)
Kotlin
Color(0xFF0D47A1)
Flutter
Color(0xFF0D47A1)
Android
#FF0D47A1

Contrast Analysis

WCAG compliance with grayscale colors

On White

8.63:1

AAA

On Black

2.43:1

Fail

Grayscale Contrast

Aa

0%

2.4

Fail
Aa

10%

2.0

Fail
Aa

20%

1.5

Fail
Aa

30%

1.0

Fail
Aa

40%

1.5

Fail
Aa

50%

2.2

Fail
Aa

60%

3.0

AA-large
Aa

70%

4.1

AA-large
Aa

80%

5.4

AA
Aa

90%

6.9

AA
Aa

100%

8.6

AAA

Best Grayscale Contrast

#FFFFFF with ratio 8.63: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, #2676ED 0%, #0A3576 100%)
OKLCH
linear-gradient(90deg, oklch(58.6% 0.195 259.0) 0%, oklch(34.4% 0.121 259.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #005AE0 0%, #0052CC 100%)
OKLCH
linear-gradient(135deg, oklch(51.4% 0.217 260.6) 0%, oklch(48.0% 0.201 260.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0D47A1 0%, #A0650D 100%)
OKLCH
linear-gradient(90deg, oklch(42.2% 0.157 259.9) 0%, oklch(55.8% 0.118 68.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #0D92A0 0%, #0D47A1 50%, #1C0DA0 100%)
OKLCH
linear-gradient(90deg, oklch(60.4% 0.102 207.0) 0%, oklch(42.2% 0.157 259.9) 50%, oklch(33.7% 0.209 270.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, #0D48A0 0%, #0E1B2F 100%)
OKLCH
linear-gradient(180deg, oklch(42.3% 0.154 259.5) 0%, oklch(22.2% 0.043 258.7) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #1368E7 0%, #0B3F8E 100%)
OKLCH
radial-gradient(circle, oklch(54.9% 0.207 259.7) 0%, oklch(38.8% 0.141 259.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