Cobalt

#1228CE

Blue

Color Codes

All color formats for development

HEX
#1228CE
RGB
rgb(18, 40, 206)
HSL
hsl(233, 84%, 44%)
OKLCH
oklch(0.417 0.245 265.9)
CMYK
cmyk(91%, 81%, 0%, 19%)

Accessibility

WCAG contrast compliance

On White Background

9.46:1

AA AAA

On Black Background

2.22:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F2
100
#DEE2
200
#C2C9
300
#939F
400
#5B6C
500
#2C42
600
#1228
700
#0E20
800
#0A17
900
#070F
950
#0409

Shades

Darker variations

1#1024BA
2#0E20A5
3#0D1C91
4#0B187C
5#091467
6#071053
7#050C3E
8#040829
9#020415

Tints

Lighter variations

1#142DE9
2#2D43ED
3#475BEF
4#6172F1
5#7C8AF4
6#96A1F6
7#B0B9F8
8#CAD0FA
9#E5E8FD

Tones

Muted variations

1#1B2FC5
2#2536BC
3#2E3EB2
4#3845A9
5#414C9F
6#4B5396
7#545B8C
8#5D6283
9#67697A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F2
#F1F2FE
BackgroundsSubtle highlightsCard backgrounds
100
DEE2
#DEE2FC
Light backgroundsTable row hoverSkeleton loading
200
C2C9
#C2C9FA
Secondary backgroundsInput backgroundsDividers
300
939F
#939FF6
BordersInactive statesPlaceholder text
400
5B6C
#5B6CF1
Disabled statesSecondary iconsMuted text
500
2C42
#2C42ED
Primary brand colorCTAsActive elementsLinks
600
1228
#1228CE
Hover statesFocus ringsPrimary buttons hover
700
0E20
#0E20A4
Active/pressed statesDark mode accentsSecondary text
800
0A17
#0A1775
Text on light backgroundsHeadingsStrong borders
900
070F
#070F4B
Primary textHigh emphasis contentDark headings
950
0409
#04092F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F1F2FE;
  --cobalt-100: #DEE2FC;
  --cobalt-200: #C2C9FA;
  --cobalt-300: #939FF6;
  --cobalt-400: #5B6CF1;
  --cobalt-500: #2C42ED;
  --cobalt-600: #1228CE;
  --cobalt-700: #0E20A4;
  --cobalt-800: #0A1775;
  --cobalt-900: #070F4B;
  --cobalt-950: #04092F;
}
Generate More ShadesCreate PaletteConvert Color