Cobalt

#3131AF

Blue

Color Codes

All color formats for development

HEX
#3131AF
RGB
rgb(49, 49, 175)
HSL
hsl(240, 56%, 44%)
OKLCH
oklch(0.408 0.193 273.7)
CMYK
cmyk(72%, 72%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

9.59:1

AA AAA

On Black Background

2.19:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F3
100
#E3E3
200
#CBCB
300
#A4A4
400
#7474
500
#4C4C
600
#3131
700
#2727
800
#1C1C
900
#1212
950
#0B0B

Shades

Darker variations

1#2C2C9E
2#27278C
3#23237B
4#1E1E69
5#191958
6#141446
7#0F0F35
8#0A0A23
9#050512

Tints

Lighter variations

1#3838C5
2#4D4DCD
3#6363D3
4#7979D9
5#9090E0
6#A6A6E6
7#BCBCEC
8#D2D2F2
9#E9E9F9

Tones

Muted variations

1#3838A9
2#3E3EA2
3#44449C
4#4B4B96
5#515190
6#575789
7#5D5D83
8#64647D
9#6A6A76

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F3
#F3F3FC
BackgroundsSubtle highlightsCard backgrounds
100
E3E3
#E3E3F7
Light backgroundsTable row hoverSkeleton loading
200
CBCB
#CBCBF0
Secondary backgroundsInput backgroundsDividers
300
A4A4
#A4A4E5
BordersInactive statesPlaceholder text
400
7474
#7474D8
Disabled statesSecondary iconsMuted text
500
4C4C
#4C4CCD
Primary brand colorCTAsActive elementsLinks
600
3131
#3131AF
Hover statesFocus ringsPrimary buttons hover
700
2727
#27278B
Active/pressed statesDark mode accentsSecondary text
800
1C1C
#1C1C63
Text on light backgroundsHeadingsStrong borders
900
1212
#121240
Primary textHigh emphasis contentDark headings
950
0B0B
#0B0B28
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F3FC;
  --cobalt-100: #E3E3F7;
  --cobalt-200: #CBCBF0;
  --cobalt-300: #A4A4E5;
  --cobalt-400: #7474D8;
  --cobalt-500: #4C4CCD;
  --cobalt-600: #3131AF;
  --cobalt-700: #27278B;
  --cobalt-800: #1C1C63;
  --cobalt-900: #121240;
  --cobalt-950: #0B0B28;
}
Generate More ShadesCreate PaletteConvert Color