Black

#020F31

Blue

Color Codes

All color formats for development

HEX
#020F31
RGB
rgb(2, 15, 49)
HSL
hsl(223, 92%, 10%)
OKLCH
oklch(0.183 0.071 262.2)
CMYK
cmyk(96%, 69%, 0%, 81%)

Accessibility

WCAG contrast compliance

On White Background

18.83:1

AA AAA

On Black Background

1.12:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F4
100
#DDE6
200
#BFD1
300
#8EAD
400
#5482
500
#235F
600
#0943
700
#0736
800
#0526
900
#0319
950
#020F

Shades

Darker variations

1#020E2C
2#020C27
3#010B22
4#01091D
5#010818
6#010614
7#01050F
8#00030A
9#000205

Tints

Lighter variations

1#041D5D
2#062B89
3#0839B5
4#0947E1
5#235FF6
6#4F7FF8
7#7B9FF9
8#A7BFFB
9#D3DFFD

Tones

Muted variations

1#04102F
2#07112C
3#09122A
4#0B1328
5#0E1425
6#101523
7#121621
8#15171E
9#17181C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F4
#F0F4FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE6
#DDE6FE
Light backgroundsTable row hoverSkeleton loading
200
BFD1
#BFD1FC
Secondary backgroundsInput backgroundsDividers
300
8EAD
#8EADFA
BordersInactive statesPlaceholder text
400
5482
#5482F8
Disabled statesSecondary iconsMuted text
500
235F
#235FF6
Primary brand colorCTAsActive elementsLinks
600
0943
#0943D7
Hover statesFocus ringsPrimary buttons hover
700
0736
#0736AB
Active/pressed statesDark mode accentsSecondary text
800
0526
#05267A
Text on light backgroundsHeadingsStrong borders
900
0319
#03194E
Primary textHigh emphasis contentDark headings
950
020F
#020F31
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F0F4FE;
  --black-100: #DDE6FE;
  --black-200: #BFD1FC;
  --black-300: #8EADFA;
  --black-400: #5482F8;
  --black-500: #235FF6;
  --black-600: #0943D7;
  --black-700: #0736AB;
  --black-800: #05267A;
  --black-900: #03194E;
  --black-950: #020F31;
}
Generate More ShadesCreate PaletteConvert Color