Black

#021131

Blue

Color Codes

All color formats for development

HEX
#021131
RGB
rgb(2, 17, 49)
HSL
hsl(221, 92%, 10%)
OKLCH
oklch(0.188 0.068 260.6)
CMYK
cmyk(96%, 65%, 0%, 81%)

Accessibility

WCAG contrast compliance

On White Background

18.63:1

AA AAA

On Black Background

1.13:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F5
100
#DDE7
200
#BFD3
300
#8EB1
400
#5488
500
#2366
600
#094A
700
#073B
800
#052A
900
#031B
950
#0211

Shades

Darker variations

1#020F2C
2#020E27
3#010C22
4#010A1D
5#010818
6#010714
7#01050F
8#00030A
9#000205

Tints

Lighter variations

1#04205D
2#062F89
3#083FB5
4#094EE1
5#2366F6
6#4F84F8
7#7BA3F9
8#A7C2FB
9#D3E0FD

Tones

Muted variations

1#04122F
2#07132C
3#09132A
4#0B1428
5#0E1525
6#101623
7#121721
8#15181E
9#17191C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F5
#F0F5FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE7
#DDE7FE
Light backgroundsTable row hoverSkeleton loading
200
BFD3
#BFD3FC
Secondary backgroundsInput backgroundsDividers
300
8EB1
#8EB1FA
BordersInactive statesPlaceholder text
400
5488
#5488F8
Disabled statesSecondary iconsMuted text
500
2366
#2366F6
Primary brand colorCTAsActive elementsLinks
600
094A
#094AD7
Hover statesFocus ringsPrimary buttons hover
700
073B
#073BAB
Active/pressed statesDark mode accentsSecondary text
800
052A
#052A7A
Text on light backgroundsHeadingsStrong borders
900
031B
#031B4E
Primary textHigh emphasis contentDark headings
950
0211
#021131
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F0F5FE;
  --black-100: #DDE7FE;
  --black-200: #BFD3FC;
  --black-300: #8EB1FA;
  --black-400: #5488F8;
  --black-500: #2366F6;
  --black-600: #094AD7;
  --black-700: #073BAB;
  --black-800: #052A7A;
  --black-900: #031B4E;
  --black-950: #021131;
}
Generate More ShadesCreate PaletteConvert Color