Cobalt

#3A40A6

Blue

Color Codes

All color formats for development

HEX
#3A40A6
RGB
rgb(58, 64, 166)
HSL
hsl(237, 48%, 44%)
OKLCH
oklch(0.431 0.161 274.8)
CMYK
cmyk(65%, 61%, 0%, 35%)

Accessibility

WCAG contrast compliance

On White Background

8.52:1

AA AAA

On Black Background

2.46:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F4
100
#E5E5
200
#CED0
300
#A8AB
400
#7B7F
500
#555B
600
#3A40
700
#2E33
800
#2124
900
#1517
950
#0D0E

Shades

Darker variations

1#353995
2#2F3385
3#292D74
4#232664
5#1D2053
6#171942
7#121332
8#0C0D21
9#060611

Tints

Lighter variations

1#4248BB
2#565BC4
3#6B70CB
4#8084D2
5#9599DA
6#AAADE1
7#C0C2E9
8#D5D6F0
9#EAEBF8

Tones

Muted variations

1#4045A1
2#45499B
3#4B4E96
4#505391
5#55588B
6#5B5D86
7#606280
8#65677B
9#6B6B76

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F4
#F4F4FB
BackgroundsSubtle highlightsCard backgrounds
100
E5E5
#E5E5F6
Light backgroundsTable row hoverSkeleton loading
200
CED0
#CED0EE
Secondary backgroundsInput backgroundsDividers
300
A8AB
#A8ABE1
BordersInactive statesPlaceholder text
400
7B7F
#7B7FD1
Disabled statesSecondary iconsMuted text
500
555B
#555BC3
Primary brand colorCTAsActive elementsLinks
600
3A40
#3A40A6
Hover statesFocus ringsPrimary buttons hover
700
2E33
#2E3384
Active/pressed statesDark mode accentsSecondary text
800
2124
#21245E
Text on light backgroundsHeadingsStrong borders
900
1517
#15173C
Primary textHigh emphasis contentDark headings
950
0D0E
#0D0E26
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F4F4FB;
  --cobalt-100: #E5E5F6;
  --cobalt-200: #CED0EE;
  --cobalt-300: #A8ABE1;
  --cobalt-400: #7B7FD1;
  --cobalt-500: #555BC3;
  --cobalt-600: #3A40A6;
  --cobalt-700: #2E3384;
  --cobalt-800: #21245E;
  --cobalt-900: #15173C;
  --cobalt-950: #0D0E26;
}
Generate More ShadesCreate PaletteConvert Color