Cobalt

#152C9D

Blue

Color Codes

All color formats for development

HEX
#152C9D
RGB
rgb(21, 44, 157)
HSL
hsl(230, 76%, 35%)
OKLCH
oklch(0.367 0.183 266.6)
CMYK
cmyk(87%, 72%, 0%, 38%)

Accessibility

WCAG contrast compliance

On White Background

11.18:1

AA AAA

On Black Background

1.88:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F2F3
100
#E0E4
200
#C5CD
300
#98A7
400
#6279
500
#3552
600
#1B37
700
#152C
800
#0F1F
900
#0A14
950
#060D

Shades

Darker variations

1#13288D
2#11237E
3#0F1F6E
4#0D1A5E
5#0B164F
6#09123F
7#060D2F
8#04091F
9#020410

Tints

Lighter variations

1#1934BA
2#1D3CD7
3#3350E3
4#5069E7
5#6D82EB
6#8A9BEF
7#A7B4F3
8#C5CDF7
9#E2E6FB

Tones

Muted variations

1#1C3196
2#233590
3#2A3A89
4#313E82
5#37437B
6#3E4774
7#454C6E
8#4C5067
9#525560

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F2F3
#F2F3FD
BackgroundsSubtle highlightsCard backgrounds
100
E0E4
#E0E4FB
Light backgroundsTable row hoverSkeleton loading
200
C5CD
#C5CDF7
Secondary backgroundsInput backgroundsDividers
300
98A7
#98A7F1
BordersInactive statesPlaceholder text
400
6279
#6279EA
Disabled statesSecondary iconsMuted text
500
3552
#3552E3
Primary brand colorCTAsActive elementsLinks
600
1B37
#1B37C5
Hover statesFocus ringsPrimary buttons hover
700
152C
#152C9D
Active/pressed statesDark mode accentsSecondary text
800
0F1F
#0F1F70
Text on light backgroundsHeadingsStrong borders
900
0A14
#0A1448
Primary textHigh emphasis contentDark headings
950
060D
#060D2D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F2F3FD;
  --cobalt-100: #E0E4FB;
  --cobalt-200: #C5CDF7;
  --cobalt-300: #98A7F1;
  --cobalt-400: #6279EA;
  --cobalt-500: #3552E3;
  --cobalt-600: #1B37C5;
  --cobalt-700: #152C9D;
  --cobalt-800: #0F1F70;
  --cobalt-900: #0A1448;
  --cobalt-950: #060D2D;
}
Generate More ShadesCreate PaletteConvert Color