Cobalt

#152A9D

Blue

Color Codes

All color formats for development

HEX
#152A9D
RGB
rgb(21, 42, 157)
HSL
hsl(231, 76%, 35%)
OKLCH
oklch(0.364 0.185 266.9)
CMYK
cmyk(87%, 73%, 0%, 38%)

Accessibility

WCAG contrast compliance

On White Background

11.35:1

AA AAA

On Black Background

1.85:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F2F3
100
#E0E4
200
#C5CC
300
#98A5
400
#6276
500
#354F
600
#1B35
700
#152A
800
#0F1E
900
#0A13
950
#060C

Shades

Darker variations

1#13268D
2#11217E
3#0F1D6E
4#0D195E
5#0B154F
6#09113F
7#060D2F
8#04081F
9#020410

Tints

Lighter variations

1#1932BA
2#1D39D7
3#334DE3
4#5067E7
5#6D80EB
6#8A99EF
7#A7B3F3
8#C5CCF7
9#E2E6FB

Tones

Muted variations

1#1C2F96
2#233390
3#2A3889
4#313D82
5#37427B
6#3E4674
7#454B6E
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
C5CC
#C5CCF7
Secondary backgroundsInput backgroundsDividers
300
98A5
#98A5F1
BordersInactive statesPlaceholder text
400
6276
#6276EA
Disabled statesSecondary iconsMuted text
500
354F
#354FE3
Primary brand colorCTAsActive elementsLinks
600
1B35
#1B35C5
Hover statesFocus ringsPrimary buttons hover
700
152A
#152A9D
Active/pressed statesDark mode accentsSecondary text
800
0F1E
#0F1E70
Text on light backgroundsHeadingsStrong borders
900
0A13
#0A1348
Primary textHigh emphasis contentDark headings
950
060C
#060C2D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F2F3FD;
  --cobalt-100: #E0E4FB;
  --cobalt-200: #C5CCF7;
  --cobalt-300: #98A5F1;
  --cobalt-400: #6276EA;
  --cobalt-500: #354FE3;
  --cobalt-600: #1B35C5;
  --cobalt-700: #152A9D;
  --cobalt-800: #0F1E70;
  --cobalt-900: #0A1348;
  --cobalt-950: #060C2D;
}
Generate More ShadesCreate PaletteConvert Color