Cobalt

#0342B0

Blue

Color Codes

All color formats for development

HEX
#0342B0
RGB
rgb(3, 66, 176)
HSL
hsl(218, 97%, 35%)
OKLCH
oklch(0.423 0.184 261.5)
CMYK
cmyk(98%, 63%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

8.71:1

AA AAA

On Black Background

2.41:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F5
100
#DCE9
200
#BED5
300
#8BB5
400
#4F8F
500
#1D6F
600
#0353
700
#0342
800
#022F
900
#011E
950
#0113

Shades

Darker variations

1#023C9E
2#02358D
3#022E7B
4#022869
5#012158
6#011A46
7#011435
8#010D23
9#000712

Tints

Lighter variations

1#034ED0
2#045BF1
3#1A6DFC
4#3B82FC
5#5C97FD
6#7CACFD
7#9DC0FE
8#BED5FE
9#DEEAFF

Tones

Muted variations

1#0B44A7
2#14479F
3#1D4996
4#254B8D
5#2E4E85
6#37507C
7#3F5273
8#48556B
9#515762

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F5
#F0F5FF
BackgroundsSubtle highlightsCard backgrounds
100
DCE9
#DCE9FE
Light backgroundsTable row hoverSkeleton loading
200
BED5
#BED5FE
Secondary backgroundsInput backgroundsDividers
300
8BB5
#8BB5FD
BordersInactive statesPlaceholder text
400
4F8F
#4F8FFC
Disabled statesSecondary iconsMuted text
500
1D6F
#1D6FFC
Primary brand colorCTAsActive elementsLinks
600
0353
#0353DD
Hover statesFocus ringsPrimary buttons hover
700
0342
#0342B0
Active/pressed statesDark mode accentsSecondary text
800
022F
#022F7E
Text on light backgroundsHeadingsStrong borders
900
011E
#011E50
Primary textHigh emphasis contentDark headings
950
0113
#011332
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F5FF;
  --cobalt-100: #DCE9FE;
  --cobalt-200: #BED5FE;
  --cobalt-300: #8BB5FD;
  --cobalt-400: #4F8FFC;
  --cobalt-500: #1D6FFC;
  --cobalt-600: #0353DD;
  --cobalt-700: #0342B0;
  --cobalt-800: #022F7E;
  --cobalt-900: #011E50;
  --cobalt-950: #011332;
}
Generate More ShadesCreate PaletteConvert Color