Cobalt

#0271B1

Blue

Color Codes

All color formats for development

HEX
#0271B1
RGB
rgb(2, 113, 177)
HSL
hsl(202, 98%, 35%)
OKLCH
oklch(0.529 0.131 244.4)
CMYK
cmyk(99%, 36%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

5.25:1

AA AAA

On Black Background

4.00:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F9
100
#DCF2
200
#BDE7
300
#8BD4
400
#4EBD
500
#1CAA
600
#028E
700
#0271
800
#0150
900
#0133
950
#0120

Shades

Darker variations

1#02659F
2#015A8D
3#014F7C
4#01446A
5#013858
6#012D47
7#012235
8#001723
9#000B12

Tints

Lighter variations

1#0285D2
2#029AF2
3#19A9FD
4#3AB6FD
5#5BC2FD
6#7CCEFE
7#9DDAFE
8#BDE7FE
9#DEF3FF

Tones

Muted variations

1#0B6EA8
2#136C9F
3#1C6A96
4#25678E
5#2E6585
6#36637C
7#3F6073
8#485E6B
9#515C62

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F9
#F0F9FF
BackgroundsSubtle highlightsCard backgrounds
100
DCF2
#DCF2FF
Light backgroundsTable row hoverSkeleton loading
200
BDE7
#BDE7FE
Secondary backgroundsInput backgroundsDividers
300
8BD4
#8BD4FE
BordersInactive statesPlaceholder text
400
4EBD
#4EBDFD
Disabled statesSecondary iconsMuted text
500
1CAA
#1CAAFD
Primary brand colorCTAsActive elementsLinks
600
028E
#028EDE
Hover statesFocus ringsPrimary buttons hover
700
0271
#0271B1
Active/pressed statesDark mode accentsSecondary text
800
0150
#01507E
Text on light backgroundsHeadingsStrong borders
900
0133
#013351
Primary textHigh emphasis contentDark headings
950
0120
#012032
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F9FF;
  --cobalt-100: #DCF2FF;
  --cobalt-200: #BDE7FE;
  --cobalt-300: #8BD4FE;
  --cobalt-400: #4EBDFD;
  --cobalt-500: #1CAAFD;
  --cobalt-600: #028EDE;
  --cobalt-700: #0271B1;
  --cobalt-800: #01507E;
  --cobalt-900: #013351;
  --cobalt-950: #012032;
}
Generate More ShadesCreate PaletteConvert Color