Cobalt

#042CAF

Blue

Color Codes

All color formats for development

HEX
#042CAF
RGB
rgb(4, 44, 175)
HSL
hsl(226, 96%, 35%)
OKLCH
oklch(0.383 0.208 264.1)
CMYK
cmyk(98%, 75%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

10.58:1

AA AAA

On Black Background

1.98:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F3
100
#DCE4
200
#BECD
300
#8CA6
400
#5078
500
#1E51
600
#0437
700
#042C
800
#031F
900
#0214
950
#010C

Shades

Darker variations

1#03279D
2#03238C
3#021E7A
4#021A69
5#021657
6#011146
7#010D34
8#010923
9#000411

Tints

Lighter variations

1#0434CF
2#053CF0
3#1C50FA
4#3C69FB
5#5D82FC
6#7D9BFC
7#9EB4FD
8#BECDFE
9#DFE6FE

Tones

Muted variations

1#0C30A6
2#15359E
3#1D3995
4#263E8D
5#2E4284
6#37477C
7#404C73
8#48506A
9#515562

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F3
#F0F3FF
BackgroundsSubtle highlightsCard backgrounds
100
DCE4
#DCE4FE
Light backgroundsTable row hoverSkeleton loading
200
BECD
#BECDFE
Secondary backgroundsInput backgroundsDividers
300
8CA6
#8CA6FD
BordersInactive statesPlaceholder text
400
5078
#5078FB
Disabled statesSecondary iconsMuted text
500
1E51
#1E51FA
Primary brand colorCTAsActive elementsLinks
600
0437
#0437DC
Hover statesFocus ringsPrimary buttons hover
700
042C
#042CAF
Active/pressed statesDark mode accentsSecondary text
800
031F
#031F7D
Text on light backgroundsHeadingsStrong borders
900
0214
#021450
Primary textHigh emphasis contentDark headings
950
010C
#010C32
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F3FF;
  --cobalt-100: #DCE4FE;
  --cobalt-200: #BECDFE;
  --cobalt-300: #8CA6FD;
  --cobalt-400: #5078FB;
  --cobalt-500: #1E51FA;
  --cobalt-600: #0437DC;
  --cobalt-700: #042CAF;
  --cobalt-800: #031F7D;
  --cobalt-900: #021450;
  --cobalt-950: #010C32;
}
Generate More ShadesCreate PaletteConvert Color