#0F4C81

Cobalt

#0F4C81Cobalt

Luminance

0.069

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0F4C81
No #
0F4C81

RGB

RGB
rgb(15, 76, 129)
Values
R:15 G:76 B:129

HSL

HSL
hsl(208, 79%, 28%)
Values
H:208° S:79% L:28%

HSV / HSB

HSV
hsv(208, 88%, 51%)
Values
H:208° S:88% V:51%

CMYK

CMYK
cmyk(88%, 41%, 0%, 49%)
Values
C:88 M:41 Y:0 K:49

LAB

LAB
lab(31, 2, -35)
Values
L:31 a:2 b:-35

OKLCH

OKLCH
oklch(40.9% 0.106 250.2)
Values
L:40.9% C:0.106 H:250.2°

Code Formats

CSS
color: #0F4C81;
Swift
UIColor(red: 0.059, green: 0.298, blue: 0.506, alpha: 1.0)
Kotlin
Color(0xFF0F4C81)
Flutter
Color(0xFF0F4C81)
Android
#FF0F4C81

Contrast Analysis

WCAG compliance with grayscale colors

On White

8.86:1

AAA

On Black

2.37:1

Fail

Grayscale Contrast

Aa

0%

2.4

Fail
Aa

10%

2.0

Fail
Aa

20%

1.4

Fail
Aa

30%

1.0

Fail
Aa

40%

1.5

Fail
Aa

50%

2.2

Fail
Aa

60%

3.1

AA-large
Aa

70%

4.2

AA-large
Aa

80%

5.5

AA
Aa

90%

7.0

AAA
Aa

100%

8.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 8.86: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, #1A81DB 0%, #0D4372 100%)
OKLCH
linear-gradient(90deg, oklch(59.5% 0.163 251.0) 0%, oklch(37.6% 0.097 250.1) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #0667BC 0%, #006DCC 100%)
OKLCH
linear-gradient(135deg, oklch(51.3% 0.155 252.8) 0%, oklch(53.7% 0.169 253.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0F4C81 0%, #80440F 100%)
OKLCH
linear-gradient(90deg, oklch(40.9% 0.106 250.2) 0%, oklch(45.2% 0.103 55.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #0F807C 0%, #0F4C81 50%, #0F1380 100%)
OKLCH
linear-gradient(90deg, oklch(54.3% 0.091 190.9) 0%, oklch(40.9% 0.106 250.2) 50%, oklch(29.4% 0.172 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, #0F4B80 0%, #10202E 100%)
OKLCH
linear-gradient(180deg, oklch(40.6% 0.106 250.5) 0%, oklch(23.7% 0.035 246.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #1773C4 0%, #105189 100%)
OKLCH
radial-gradient(circle, oklch(54.8% 0.149 251.0) 0%, oklch(42.7% 0.111 250.1) 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