Cobalt

#0C31D4

Blue

Color Codes

All color formats for development

HEX
#0C31D4
RGB
rgb(12, 49, 212)
HSL
hsl(229, 89%, 44%)
OKLCH
oklch(0.434 0.245 264.9)
CMYK
cmyk(94%, 77%, 0%, 17%)

Accessibility

WCAG contrast compliance

On White Background

8.73:1

AA AAA

On Black Background

2.41:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F3
100
#DDE3
200
#C0CB
300
#90A3
400
#5673
500
#264C
600
#0C31
700
#0A27
800
#071C
900
#0412
950
#030B

Shades

Darker variations

1#0B2CBF
2#0A27AA
3#092294
4#071D7F
5#06186A
6#051455
7#040F40
8#020A2A
9#010515

Tints

Lighter variations

1#0E37EF
2#274CF2
3#4263F4
4#5D79F6
5#788FF7
6#93A6F9
7#AEBCFA
8#C9D2FC
9#E4E9FD

Tones

Muted variations

1#1637CA
2#203EC0
3#2A44B6
4#344AAC
5#3E51A2
6#485798
7#525D8E
8#5C6484
9#666A7A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F3
#F1F3FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE3
#DDE3FD
Light backgroundsTable row hoverSkeleton loading
200
C0CB
#C0CBFB
Secondary backgroundsInput backgroundsDividers
300
90A3
#90A3F9
BordersInactive statesPlaceholder text
400
5673
#5673F5
Disabled statesSecondary iconsMuted text
500
264C
#264CF2
Primary brand colorCTAsActive elementsLinks
600
0C31
#0C31D4
Hover statesFocus ringsPrimary buttons hover
700
0A27
#0A27A9
Active/pressed statesDark mode accentsSecondary text
800
071C
#071C78
Text on light backgroundsHeadingsStrong borders
900
0412
#04124D
Primary textHigh emphasis contentDark headings
950
030B
#030B30
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F1F3FE;
  --cobalt-100: #DDE3FD;
  --cobalt-200: #C0CBFB;
  --cobalt-300: #90A3F9;
  --cobalt-400: #5673F5;
  --cobalt-500: #264CF2;
  --cobalt-600: #0C31D4;
  --cobalt-700: #0A27A9;
  --cobalt-800: #071C78;
  --cobalt-900: #04124D;
  --cobalt-950: #030B30;
}
Generate More ShadesCreate PaletteConvert Color