Cobalt

#27318B

Blue

Color Codes

All color formats for development

HEX
#27318B
RGB
rgb(39, 49, 139)
HSL
hsl(234, 56%, 35%)
OKLCH
oklch(0.367 0.148 271.9)
CMYK
cmyk(72%, 65%, 0%, 45%)

Accessibility

WCAG contrast compliance

On White Background

11.06:1

AA AAA

On Black Background

1.90:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F4
100
#E3E5
200
#CBCF
300
#A4AA
400
#747E
500
#4C59
600
#313E
700
#2731
800
#1C23
900
#1217
950
#0B0E

Shades

Darker variations

1#232C7D
2#1F276F
3#1B2261
4#181E54
5#141946
6#101438
7#0C0F2A
8#080A1C
9#04050E

Tints

Lighter variations

1#2F3AA5
2#3644BF
3#4A57CC
4#646FD3
5#7E87DB
6#989FE2
7#B1B7E9
8#CBCFF0
9#E5E7F8

Tones

Muted variations

1#2C3586
2#313981
3#363D7C
4#3B4177
5#404572
6#45496D
7#4A4D68
8#4F5163
9#54555E

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F4
#F3F4FC
BackgroundsSubtle highlightsCard backgrounds
100
E3E5
#E3E5F7
Light backgroundsTable row hoverSkeleton loading
200
CBCF
#CBCFF0
Secondary backgroundsInput backgroundsDividers
300
A4AA
#A4AAE5
BordersInactive statesPlaceholder text
400
747E
#747ED8
Disabled statesSecondary iconsMuted text
500
4C59
#4C59CD
Primary brand colorCTAsActive elementsLinks
600
313E
#313EAF
Hover statesFocus ringsPrimary buttons hover
700
2731
#27318B
Active/pressed statesDark mode accentsSecondary text
800
1C23
#1C2363
Text on light backgroundsHeadingsStrong borders
900
1217
#121740
Primary textHigh emphasis contentDark headings
950
0B0E
#0B0E28
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F4FC;
  --cobalt-100: #E3E5F7;
  --cobalt-200: #CBCFF0;
  --cobalt-300: #A4AAE5;
  --cobalt-400: #747ED8;
  --cobalt-500: #4C59CD;
  --cobalt-600: #313EAF;
  --cobalt-700: #27318B;
  --cobalt-800: #1C2363;
  --cobalt-900: #121740;
  --cobalt-950: #0B0E28;
}
Generate More ShadesCreate PaletteConvert Color