Cobalt

#313AAF

Blue

Color Codes

All color formats for development

HEX
#313AAF
RGB
rgb(49, 58, 175)
HSL
hsl(236, 56%, 44%)
OKLCH
oklch(0.422 0.183 272.2)
CMYK
cmyk(72%, 67%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

8.92:1

AA AAA

On Black Background

2.35:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F4
100
#E3E4
200
#CBCE
300
#A4A8
400
#747A
500
#4C55
600
#313A
700
#272E
800
#1C21
900
#1215
950
#0B0D

Shades

Darker variations

1#2C349E
2#272E8C
3#23287B
4#1E2369
5#191D58
6#141746
7#0F1135
8#0A0C23
9#050612

Tints

Lighter variations

1#3841C5
2#4D55CD
3#636BD3
4#7980D9
5#9095E0
6#A6AAE6
7#BCBFEC
8#D2D5F2
9#E9EAF9

Tones

Muted variations

1#383FA9
2#3E45A2
3#444A9C
4#4B5096
5#515590
6#575A89
7#5D6083
8#64657D
9#6A6B76

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F4
#F3F4FC
BackgroundsSubtle highlightsCard backgrounds
100
E3E4
#E3E4F7
Light backgroundsTable row hoverSkeleton loading
200
CBCE
#CBCEF0
Secondary backgroundsInput backgroundsDividers
300
A4A8
#A4A8E5
BordersInactive statesPlaceholder text
400
747A
#747AD8
Disabled statesSecondary iconsMuted text
500
4C55
#4C55CD
Primary brand colorCTAsActive elementsLinks
600
313A
#313AAF
Hover statesFocus ringsPrimary buttons hover
700
272E
#272E8B
Active/pressed statesDark mode accentsSecondary text
800
1C21
#1C2163
Text on light backgroundsHeadingsStrong borders
900
1215
#121540
Primary textHigh emphasis contentDark headings
950
0B0D
#0B0D28
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F4FC;
  --cobalt-100: #E3E4F7;
  --cobalt-200: #CBCEF0;
  --cobalt-300: #A4A8E5;
  --cobalt-400: #747AD8;
  --cobalt-500: #4C55CD;
  --cobalt-600: #313AAF;
  --cobalt-700: #272E8B;
  --cobalt-800: #1C2163;
  --cobalt-900: #121540;
  --cobalt-950: #0B0D28;
}
Generate More ShadesCreate PaletteConvert Color