Black

#020C31

Blue

Color Codes

All color formats for development

HEX
#020C31
RGB
rgb(2, 12, 49)
HSL
hsl(227, 92%, 10%)
OKLCH
oklch(0.175 0.076 264.2)
CMYK
cmyk(96%, 76%, 0%, 81%)

Accessibility

WCAG contrast compliance

On White Background

19.10:1

AA AAA

On Black Background

1.10:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F3
100
#DDE4
200
#BFCD
300
#8EA6
400
#5477
500
#2350
600
#0936
700
#072B
800
#051F
900
#0314
950
#020C

Shades

Darker variations

1#020B2C
2#020A27
3#010922
4#01071D
5#010618
6#010514
7#01040F
8#00020A
9#000105

Tints

Lighter variations

1#04175D
2#062289
3#082DB5
4#0938E1
5#2350F6
6#4F73F8
7#7B96F9
8#A7B9FB
9#D3DCFD

Tones

Muted variations

1#040E2F
2#070F2C
3#09102A
4#0B1228
5#0E1325
6#101423
7#121621
8#15171E
9#17181C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F3
#F0F3FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE4
#DDE4FE
Light backgroundsTable row hoverSkeleton loading
200
BFCD
#BFCDFC
Secondary backgroundsInput backgroundsDividers
300
8EA6
#8EA6FA
BordersInactive statesPlaceholder text
400
5477
#5477F8
Disabled statesSecondary iconsMuted text
500
2350
#2350F6
Primary brand colorCTAsActive elementsLinks
600
0936
#0936D7
Hover statesFocus ringsPrimary buttons hover
700
072B
#072BAB
Active/pressed statesDark mode accentsSecondary text
800
051F
#051F7A
Text on light backgroundsHeadingsStrong borders
900
0314
#03144E
Primary textHigh emphasis contentDark headings
950
020C
#020C31
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F0F3FE;
  --black-100: #DDE4FE;
  --black-200: #BFCDFC;
  --black-300: #8EA6FA;
  --black-400: #5477F8;
  --black-500: #2350F6;
  --black-600: #0936D7;
  --black-700: #072BAB;
  --black-800: #051F7A;
  --black-900: #03144E;
  --black-950: #020C31;
}
Generate More ShadesCreate PaletteConvert Color