Cobalt

#2D51B4

Blue

Color Codes

All color formats for development

HEX
#2D51B4
RGB
rgb(45, 81, 180)
HSL
hsl(224, 60%, 44%)
OKLCH
oklch(0.468 0.163 265.4)
CMYK
cmyk(75%, 55%, 0%, 29%)

Accessibility

WCAG contrast compliance

On White Background

7.12:1

AA AAA

On Black Background

2.95:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F5
100
#E2E8
200
#CAD5
300
#A1B4
400
#708D
500
#476C
600
#2D51
700
#2440
800
#1A2E
900
#101D
950
#0A12

Shades

Darker variations

1#2849A2
2#244190
3#1F397E
4#1B306C
5#16285A
6#122048
7#0D1836
8#091024
9#040812

Tints

Lighter variations

1#335BCA
2#486DD1
3#5F7FD7
4#7691DD
5#8DA4E2
6#A4B6E8
7#BAC8EE
8#D1DAF4
9#E8EDF9

Tones

Muted variations

1#3454AD
2#3A57A6
3#415A9F
4#485D99
5#4F6092
6#55648B
7#5C6784
8#636A7E
9#696D77

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F5
#F3F5FC
BackgroundsSubtle highlightsCard backgrounds
100
E2E8
#E2E8F8
Light backgroundsTable row hoverSkeleton loading
200
CAD5
#CAD5F2
Secondary backgroundsInput backgroundsDividers
300
A1B4
#A1B4E8
BordersInactive statesPlaceholder text
400
708D
#708DDB
Disabled statesSecondary iconsMuted text
500
476C
#476CD1
Primary brand colorCTAsActive elementsLinks
600
2D51
#2D51B4
Hover statesFocus ringsPrimary buttons hover
700
2440
#24408F
Active/pressed statesDark mode accentsSecondary text
800
1A2E
#1A2E66
Text on light backgroundsHeadingsStrong borders
900
101D
#101D41
Primary textHigh emphasis contentDark headings
950
0A12
#0A1229
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F5FC;
  --cobalt-100: #E2E8F8;
  --cobalt-200: #CAD5F2;
  --cobalt-300: #A1B4E8;
  --cobalt-400: #708DDB;
  --cobalt-500: #476CD1;
  --cobalt-600: #2D51B4;
  --cobalt-700: #24408F;
  --cobalt-800: #1A2E66;
  --cobalt-900: #101D41;
  --cobalt-950: #0A1229;
}
Generate More ShadesCreate PaletteConvert Color