Cobalt

#1F40C1

Blue

Color Codes

All color formats for development

HEX
#1F40C1
RGB
rgb(31, 64, 193)
HSL
hsl(228, 72%, 44%)
OKLCH
oklch(0.442 0.204 266.2)
CMYK
cmyk(84%, 67%, 0%, 24%)

Accessibility

WCAG contrast compliance

On White Background

8.20:1

AA AAA

On Black Background

2.56:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F2F4
100
#E0E5
200
#C6D0
300
#9AAB
400
#657F
500
#3A5B
600
#1F40
700
#1933
800
#1224
900
#0B17
950
#070E

Shades

Darker variations

1#1C39AE
2#19339A
3#162D87
4#132674
5#102060
6#0D194D
7#09133A
8#060D27
9#030613

Tints

Lighter variations

1#2348DA
2#3B5BDF
3#5370E3
4#6C84E7
5#8499EB
6#9DADEF
7#B5C2F3
8#CED6F7
9#E6EBFB

Tones

Muted variations

1#2745B9
2#3049B1
3#384EA9
4#4053A1
5#485899
6#505D91
7#586288
8#606780
9#686B78

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F2F4
#F2F4FD
BackgroundsSubtle highlightsCard backgrounds
100
E0E5
#E0E5FA
Light backgroundsTable row hoverSkeleton loading
200
C6D0
#C6D0F6
Secondary backgroundsInput backgroundsDividers
300
9AAB
#9AABEF
BordersInactive statesPlaceholder text
400
657F
#657FE6
Disabled statesSecondary iconsMuted text
500
3A5B
#3A5BDF
Primary brand colorCTAsActive elementsLinks
600
1F40
#1F40C1
Hover statesFocus ringsPrimary buttons hover
700
1933
#19339A
Active/pressed statesDark mode accentsSecondary text
800
1224
#12246E
Text on light backgroundsHeadingsStrong borders
900
0B17
#0B1746
Primary textHigh emphasis contentDark headings
950
070E
#070E2C
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F2F4FD;
  --cobalt-100: #E0E5FA;
  --cobalt-200: #C6D0F6;
  --cobalt-300: #9AABEF;
  --cobalt-400: #657FE6;
  --cobalt-500: #3A5BDF;
  --cobalt-600: #1F40C1;
  --cobalt-700: #19339A;
  --cobalt-800: #12246E;
  --cobalt-900: #0B1746;
  --cobalt-950: #070E2C;
}
Generate More ShadesCreate PaletteConvert Color