#3949AB

Cobalt

#3949ABCobalt

Luminance

0.086

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#3949AB
No #
3949AB

RGB

RGB
rgb(57, 73, 171)
Values
R:57 G:73 B:171

HSL

HSL
hsl(232, 50%, 45%)
Values
H:232° S:50% L:45%

HSV / HSB

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

CMYK

CMYK
cmyk(67%, 57%, 0%, 33%)
Values
C:67 M:57 Y:0 K:33

LAB

LAB
lab(35, 26, -55)
Values
L:35 a:26 b:-55

OKLCH

OKLCH
oklch(45.1% 0.157 271.6)
Values
L:45.1% C:0.157 H:271.6°

Code Formats

CSS
color: #3949AB;
Swift
UIColor(red: 0.224, green: 0.286, blue: 0.671, alpha: 1.0)
Kotlin
Color(0xFF3949AB)
Flutter
Color(0xFF3949AB)
Android
#FF3949AB

Contrast Analysis

WCAG compliance with grayscale colors

On White

7.73:1

AAA

On Black

2.72:1

Fail

Grayscale Contrast

Aa

0%

2.7

Fail
Aa

10%

2.3

Fail
Aa

20%

1.6

Fail
Aa

30%

1.1

Fail
Aa

40%

1.3

Fail
Aa

50%

1.9

Fail
Aa

60%

2.7

Fail
Aa

70%

3.7

AA-large
Aa

80%

4.8

AA
Aa

90%

6.1

AA
Aa

100%

7.7

AAA

Best Grayscale Contrast

#FFFFFF with ratio 7.73: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, #7985D2 0%, #202860 100%)
OKLCH
linear-gradient(90deg, oklch(64.0% 0.116 275.9) 0%, oklch(30.5% 0.099 273.0) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #4256D7 0%, #192EB3 100%)
OKLCH
linear-gradient(135deg, oklch(51.7% 0.198 271.0) 0%, oklch(39.6% 0.207 267.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #3949AB 0%, #AC9D39 100%)
OKLCH
linear-gradient(90deg, oklch(45.1% 0.157 271.6) 0%, oklch(69.0% 0.120 100.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #3982AC 0%, #3949AB 50%, #6339AC 100%)
OKLCH
linear-gradient(90deg, oklch(57.9% 0.097 237.1) 0%, oklch(45.1% 0.157 271.6) 50%, oklch(46.0% 0.174 295.5) 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, #3949AC 0%, #181A25 100%)
OKLCH
linear-gradient(180deg, oklch(45.2% 0.158 271.6) 0%, oklch(22.1% 0.022 276.5) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #6674CC 0%, #263073 100%)
OKLCH
radial-gradient(circle, oklch(58.9% 0.135 274.7) 0%, oklch(34.3% 0.115 272.4) 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