Cobalt

#2F40B1

Blue

Color Codes

All color formats for development

HEX
#2F40B1
RGB
rgb(47, 64, 177)
HSL
hsl(232, 58%, 44%)
OKLCH
oklch(0.434 0.179 270.3)
CMYK
cmyk(73%, 64%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

8.44:1

AA AAA

On Black Background

2.49:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F4
100
#E3E6
200
#CBD0
300
#A2AB
400
#7280
500
#4A5B
600
#2F40
700
#2533
800
#1B25
900
#1117
950
#0B0F

Shades

Darker variations

1#2A3AA0
2#26348E
3#212D7C
4#1C276A
5#182059
6#131A47
7#0E1335
8#090D23
9#050612

Tints

Lighter variations

1#3549C8
2#4B5CCF
3#6171D5
4#7885DB
5#8E99E1
6#A5AEE7
7#BBC2ED
8#D2D6F3
9#E8EBF9

Tones

Muted variations

1#3645AB
2#3C4AA4
3#434F9E
4#495497
5#505891
6#565D8A
7#5D6284
8#63677D
9#6A6B77

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F4
#F3F4FC
BackgroundsSubtle highlightsCard backgrounds
100
E3E6
#E3E6F8
Light backgroundsTable row hoverSkeleton loading
200
CBD0
#CBD0F1
Secondary backgroundsInput backgroundsDividers
300
A2AB
#A2ABE6
BordersInactive statesPlaceholder text
400
7280
#7280DA
Disabled statesSecondary iconsMuted text
500
4A5B
#4A5BCF
Primary brand colorCTAsActive elementsLinks
600
2F40
#2F40B1
Hover statesFocus ringsPrimary buttons hover
700
2533
#25338D
Active/pressed statesDark mode accentsSecondary text
800
1B25
#1B2565
Text on light backgroundsHeadingsStrong borders
900
1117
#111740
Primary textHigh emphasis contentDark headings
950
0B0F
#0B0F28
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F4FC;
  --cobalt-100: #E3E6F8;
  --cobalt-200: #CBD0F1;
  --cobalt-300: #A2ABE6;
  --cobalt-400: #7280DA;
  --cobalt-500: #4A5BCF;
  --cobalt-600: #2F40B1;
  --cobalt-700: #25338D;
  --cobalt-800: #1B2565;
  --cobalt-900: #111740;
  --cobalt-950: #0B0F28;
}
Generate More ShadesCreate PaletteConvert Color