Cobalt

#152E9E

Blue

Color Codes

All color formats for development

HEX
#152E9E
RGB
rgb(21, 46, 158)
HSL
hsl(229, 77%, 35%)
OKLCH
oklch(0.372 0.182 266.4)
CMYK
cmyk(87%, 71%, 0%, 38%)

Accessibility

WCAG contrast compliance

On White Background

10.96:1

AA AAA

On Black Background

1.92:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F4
100
#DFE4
200
#C4CE
300
#97A8
400
#617A
500
#3454
600
#1A39
700
#152E
800
#0F21
900
#0915
950
#060D

Shades

Darker variations

1#12298E
2#10257E
3#0E206F
4#0C1B5F
5#0A174F
6#08123F
7#060E2F
8#040920
9#020510

Tints

Lighter variations

1#1836BB
2#1C3FD9
3#3252E4
4#4F6BE8
5#6C84EC
6#8A9CF0
7#A7B5F4
8#C4CEF7
9#E2E6FB

Tones

Muted variations

1#1B3297
2#223690
3#293B89
4#303F82
5#37437C
6#3E4875
7#454C6E
8#4C5167
9#525560

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FD
BackgroundsSubtle highlightsCard backgrounds
100
DFE4
#DFE4FB
Light backgroundsTable row hoverSkeleton loading
200
C4CE
#C4CEF7
Secondary backgroundsInput backgroundsDividers
300
97A8
#97A8F2
BordersInactive statesPlaceholder text
400
617A
#617AEA
Disabled statesSecondary iconsMuted text
500
3454
#3454E5
Primary brand colorCTAsActive elementsLinks
600
1A39
#1A39C7
Hover statesFocus ringsPrimary buttons hover
700
152E
#152E9E
Active/pressed statesDark mode accentsSecondary text
800
0F21
#0F2171
Text on light backgroundsHeadingsStrong borders
900
0915
#091548
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: #F1F4FD;
  --cobalt-100: #DFE4FB;
  --cobalt-200: #C4CEF7;
  --cobalt-300: #97A8F2;
  --cobalt-400: #617AEA;
  --cobalt-500: #3454E5;
  --cobalt-600: #1A39C7;
  --cobalt-700: #152E9E;
  --cobalt-800: #0F2171;
  --cobalt-900: #091548;
  --cobalt-950: #060D2D;
}
Generate More ShadesCreate PaletteConvert Color