#1864AB

Cobalt

#1864ABCobalt

Luminance

0.122

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1864AB
No #
1864AB

RGB

RGB
rgb(24, 100, 171)
Values
R:24 G:100 B:171

HSL

HSL
hsl(209, 75%, 38%)
Values
H:209° S:75% L:38%

HSV / HSB

HSV
hsv(209, 86%, 67%)
Values
H:209° S:86% V:67%

CMYK

CMYK
cmyk(86%, 42%, 0%, 33%)
Values
C:86 M:42 Y:0 K:33

LAB

LAB
lab(42, 4, -44)
Values
L:42 a:4 b:-44

OKLCH

OKLCH
oklch(49.7% 0.133 251.6)
Values
L:49.7% C:0.133 H:251.6°

Code Formats

CSS
color: #1864AB;
Swift
UIColor(red: 0.094, green: 0.392, blue: 0.671, alpha: 1.0)
Kotlin
Color(0xFF1864AB)
Flutter
Color(0xFF1864AB)
Android
#FF1864AB

Contrast Analysis

WCAG compliance with grayscale colors

On White

6.09:1

AA

On Black

3.45:1

AA-large

Grayscale Contrast

Aa

0%

3.4

AA-large
Aa

10%

2.9

Fail
Aa

20%

2.1

Fail
Aa

30%

1.4

Fail
Aa

40%

1.1

Fail
Aa

50%

1.5

Fail
Aa

60%

2.1

Fail
Aa

70%

2.9

Fail
Aa

80%

3.8

AA-large
Aa

90%

4.8

AA
Aa

100%

6.1

AA

Best Grayscale Contrast

#FFFFFF with ratio 6.09: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, #4497E4 0%, #104170 100%)
OKLCH
linear-gradient(90deg, oklch(66.0% 0.140 249.3) 0%, oklch(37.0% 0.095 251.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #0C7EE9 0%, #0069CC 100%)
OKLCH
linear-gradient(135deg, oklch(59.6% 0.185 253.9) 0%, oklch(52.9% 0.174 254.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1864AB 0%, #AA5E18 100%)
OKLCH
linear-gradient(90deg, oklch(49.7% 0.133 251.6) 0%, oklch(55.9% 0.125 56.9) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #18AAA7 0%, #1864AB 50%, #181BAA 100%)
OKLCH
linear-gradient(90deg, oklch(66.9% 0.111 192.5) 0%, oklch(49.7% 0.133 251.6) 50%, oklch(36.0% 0.213 268.3) 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, #1863AA 0%, #111F2C 100%)
OKLCH
linear-gradient(180deg, oklch(49.4% 0.133 251.8) 0%, oklch(23.3% 0.032 247.6) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #2D8AE1 0%, #134E86 100%)
OKLCH
radial-gradient(circle, oklch(62.3% 0.156 250.9) 0%, oklch(41.8% 0.110 251.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