Charcoal

#313181

Blue

Color Codes

All color formats for development

HEX
#313181
RGB
rgb(49, 49, 129)
HSL
hsl(240, 45%, 35%)
OKLCH
oklch(0.364 0.131 277.7)
CMYK
cmyk(62%, 62%, 0%, 49%)

Accessibility

WCAG contrast compliance

On White Background

11.13:1

AA AAA

On Black Background

1.89:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F4
100
#E5E5
200
#CFCF
300
#AAAA
400
#7E7E
500
#5959
600
#3E3E
700
#3131
800
#2323
900
#1616
950
#0E0E

Shades

Darker variations

1#2C2C74
2#272768
3#22225B
4#1D1D4E
5#191941
6#141434
7#0F0F27
8#0A0A1A
9#05050D

Tints

Lighter variations

1#3A3A99
2#4343B1
3#5757BF
4#6F6FC8
5#8787D1
6#9F9FDB
7#B7B7E4
8#CFCFED
9#E7E7F6

Tones

Muted variations

1#35357D
2#393979
3#3D3D75
4#414171
5#45456D
6#494969
7#4D4D65
8#515161
9#55555D

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F4
#F4F4FB
BackgroundsSubtle highlightsCard backgrounds
100
E5E5
#E5E5F5
Light backgroundsTable row hoverSkeleton loading
200
CFCF
#CFCFED
Secondary backgroundsInput backgroundsDividers
300
AAAA
#AAAADF
BordersInactive statesPlaceholder text
400
7E7E
#7E7ECE
Disabled statesSecondary iconsMuted text
500
5959
#5959C0
Primary brand colorCTAsActive elementsLinks
600
3E3E
#3E3EA3
Hover statesFocus ringsPrimary buttons hover
700
3131
#313181
Active/pressed statesDark mode accentsSecondary text
800
2323
#23235C
Text on light backgroundsHeadingsStrong borders
900
1616
#16163B
Primary textHigh emphasis contentDark headings
950
0E0E
#0E0E25
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --charcoal-50: #F4F4FB;
  --charcoal-100: #E5E5F5;
  --charcoal-200: #CFCFED;
  --charcoal-300: #AAAADF;
  --charcoal-400: #7E7ECE;
  --charcoal-500: #5959C0;
  --charcoal-600: #3E3EA3;
  --charcoal-700: #313181;
  --charcoal-800: #23235C;
  --charcoal-900: #16163B;
  --charcoal-950: #0E0E25;
}
Generate More ShadesCreate PaletteConvert Color