Cobalt

#0251B1

Blue

Color Codes

All color formats for development

HEX
#0251B1
RGB
rgb(2, 81, 177)
HSL
hsl(213, 98%, 35%)
OKLCH
oklch(0.455 0.167 258)
CMYK
cmyk(99%, 54%, 0%, 31%)

Accessibility

WCAG contrast compliance

On White Background

7.46:1

AA AAA

On Black Background

2.81:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F7
100
#DCEB
200
#BDDB
300
#8BBF
400
#4E9D
500
#1C81
600
#0265
700
#0251
800
#013A
900
#0125
950
#0117

Shades

Darker variations

1#02489F
2#01408D
3#01387C
4#01306A
5#012858
6#012047
7#011835
8#001023
9#000812

Tints

Lighter variations

1#025FD2
2#026EF2
3#1980FD
4#3A92FD
5#5BA4FD
6#7CB6FE
7#9DC8FE
8#BDDBFE
9#DEEDFF

Tones

Muted variations

1#0B51A8
2#13529F
3#1C5396
4#25548E
5#2E5585
6#36567C
7#3F5773
8#48586B
9#515862

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F7
#F0F7FF
BackgroundsSubtle highlightsCard backgrounds
100
DCEB
#DCEBFF
Light backgroundsTable row hoverSkeleton loading
200
BDDB
#BDDBFE
Secondary backgroundsInput backgroundsDividers
300
8BBF
#8BBFFE
BordersInactive statesPlaceholder text
400
4E9D
#4E9DFD
Disabled statesSecondary iconsMuted text
500
1C81
#1C81FD
Primary brand colorCTAsActive elementsLinks
600
0265
#0265DE
Hover statesFocus ringsPrimary buttons hover
700
0251
#0251B1
Active/pressed statesDark mode accentsSecondary text
800
013A
#013A7E
Text on light backgroundsHeadingsStrong borders
900
0125
#012551
Primary textHigh emphasis contentDark headings
950
0117
#011732
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F0F7FF;
  --cobalt-100: #DCEBFF;
  --cobalt-200: #BDDBFE;
  --cobalt-300: #8BBFFE;
  --cobalt-400: #4E9DFD;
  --cobalt-500: #1C81FD;
  --cobalt-600: #0265DE;
  --cobalt-700: #0251B1;
  --cobalt-800: #013A7E;
  --cobalt-900: #012551;
  --cobalt-950: #011732;
}
Generate More ShadesCreate PaletteConvert Color