Blue

#310CD4

Blue

Color Codes

All color formats for development

HEX
#310CD4
RGB
rgb(49, 12, 212)
HSL
hsl(251, 89%, 44%)
OKLCH
oklch(0.415 0.259 272.9)
CMYK
cmyk(77%, 94%, 0%, 17%)

Accessibility

WCAG contrast compliance

On White Background

9.84:1

AA AAA

On Black Background

2.13:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F1
100
#E3DD
200
#CBC0
300
#A390
400
#7356
500
#4C26
600
#310C
700
#270A
800
#1C07
900
#1204
950
#0B03

Shades

Darker variations

1#2C0BBF
2#270AAA
3#220994
4#1D077F
5#18066A
6#140555
7#0F0440
8#0A022A
9#050115

Tints

Lighter variations

1#370EEF
2#4C27F2
3#6342F4
4#795DF6
5#8F78F7
6#A693F9
7#BCAEFA
8#D2C9FC
9#E9E4FD

Tones

Muted variations

1#3716CA
2#3E20C0
3#442AB6
4#4A34AC
5#513EA2
6#574898
7#5D528E
8#645C84
9#6A667A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F1
#F3F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E3DD
#E3DDFD
Light backgroundsTable row hoverSkeleton loading
200
CBC0
#CBC0FB
Secondary backgroundsInput backgroundsDividers
300
A390
#A390F9
BordersInactive statesPlaceholder text
400
7356
#7356F5
Disabled statesSecondary iconsMuted text
500
4C26
#4C26F2
Primary brand colorCTAsActive elementsLinks
600
310C
#310CD4
Hover statesFocus ringsPrimary buttons hover
700
270A
#270AA9
Active/pressed statesDark mode accentsSecondary text
800
1C07
#1C0778
Text on light backgroundsHeadingsStrong borders
900
1204
#12044D
Primary textHigh emphasis contentDark headings
950
0B03
#0B0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --blue-50: #F3F1FE;
  --blue-100: #E3DDFD;
  --blue-200: #CBC0FB;
  --blue-300: #A390F9;
  --blue-400: #7356F5;
  --blue-500: #4C26F2;
  --blue-600: #310CD4;
  --blue-700: #270AA9;
  --blue-800: #1C0778;
  --blue-900: #12044D;
  --blue-950: #0B0330;
}
Generate More ShadesCreate PaletteConvert Color