Cobalt

#0420AF

Blue

Color Codes

All color formats for development

HEX
#0420AF
RGB
rgb(4, 32, 175)
HSL
hsl(230, 96%, 35%)
OKLCH
oklch(0.367 0.219 264.6)
CMYK
cmyk(98%, 82%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

11.47:1

AA AAA

On Black Background

1.83:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F2
100
#DCE2
200
#BEC9
300
#8C9F
400
#506D
500
#1E43
600
#0428
700
#0420
800
#0317
900
#020F
950
#0109

Shades

Darker variations

1#031D9D
2#031A8C
3#02167A
4#021369
5#021057
6#010D46
7#010A34
8#010623
9#000311

Tints

Lighter variations

1#0426CF
2#052CF0
3#1C41FA
4#3C5CFB
5#5D77FC
6#7D92FC
7#9EADFD
8#BEC9FE
9#DFE4FE

Tones

Muted variations

1#0C26A6
2#152C9E
3#1D3195
4#26378D
5#2E3D84
6#37427C
7#404873
8#484E6A
9#515462

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F2
#F0F2FF
BackgroundsSubtle highlightsCard backgrounds
100
DCE2
#DCE2FE
Light backgroundsTable row hoverSkeleton loading
200
BEC9
#BEC9FE
Secondary backgroundsInput backgroundsDividers
300
8C9F
#8C9FFD
BordersInactive statesPlaceholder text
400
506D
#506DFB
Disabled statesSecondary iconsMuted text
500
1E43
#1E43FA
Primary brand colorCTAsActive elementsLinks
600
0428
#0428DC
Hover statesFocus ringsPrimary buttons hover
700
0420
#0420AF
Active/pressed statesDark mode accentsSecondary text
800
0317
#03177D
Text on light backgroundsHeadingsStrong borders
900
020F
#020F50
Primary textHigh emphasis contentDark headings
950
0109
#010932
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F2FF;
  --cobalt-100: #DCE2FE;
  --cobalt-200: #BEC9FE;
  --cobalt-300: #8C9FFD;
  --cobalt-400: #506DFB;
  --cobalt-500: #1E43FA;
  --cobalt-600: #0428DC;
  --cobalt-700: #0420AF;
  --cobalt-800: #03177D;
  --cobalt-900: #020F50;
  --cobalt-950: #010932;
}
Generate More ShadesCreate PaletteConvert Color