Cobalt

#0818AA

Blue

Color Codes

All color formats for development

HEX
#0818AA
RGB
rgb(8, 24, 170)
HSL
hsl(234, 91%, 35%)
OKLCH
oklch(0.352 0.218 265.3)
CMYK
cmyk(95%, 86%, 0%, 33%)

Accessibility

WCAG contrast compliance

On White Background

12.20:1

AA AAA

On Black Background

1.72:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F2
100
#DDE0
200
#C0C6
300
#8F9A
400
#5565
500
#2439
600
#0A1F
700
#0818
800
#0611
900
#040B
950
#0207

Shades

Darker variations

1#071699
2#061388
3#061177
4#050F66
5#040C55
6#030A44
7#020733
8#020522
9#010211

Tints

Lighter variations

1#0A1DCA
2#0B21EA
3#2137F5
4#4153F6
5#6170F8
6#808CF9
7#A0A9FB
8#C0C6FC
9#DFE2FE

Tones

Muted variations

1#101FA2
2#18259A
3#202C92
4#29328A
5#313982
6#393F7A
7#414672
8#494C69
9#515361

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F2
#F0F2FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE0
#DDE0FD
Light backgroundsTable row hoverSkeleton loading
200
C0C6
#C0C6FC
Secondary backgroundsInput backgroundsDividers
300
8F9A
#8F9AFA
BordersInactive statesPlaceholder text
400
5565
#5565F7
Disabled statesSecondary iconsMuted text
500
2439
#2439F5
Primary brand colorCTAsActive elementsLinks
600
0A1F
#0A1FD6
Hover statesFocus ringsPrimary buttons hover
700
0818
#0818AA
Active/pressed statesDark mode accentsSecondary text
800
0611
#06117A
Text on light backgroundsHeadingsStrong borders
900
040B
#040B4E
Primary textHigh emphasis contentDark headings
950
0207
#020731
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F2FE;
  --cobalt-100: #DDE0FD;
  --cobalt-200: #C0C6FC;
  --cobalt-300: #8F9AFA;
  --cobalt-400: #5565F7;
  --cobalt-500: #2439F5;
  --cobalt-600: #0A1FD6;
  --cobalt-700: #0818AA;
  --cobalt-800: #06117A;
  --cobalt-900: #040B4E;
  --cobalt-950: #020731;
}
Generate More ShadesCreate PaletteConvert Color