Blue

#340BD5

Blue

Color Codes

All color formats for development

HEX
#340BD5
RGB
rgb(52, 11, 213)
HSL
hsl(252, 90%, 44%)
OKLCH
oklch(0.418 0.259 273.8)
CMYK
cmyk(76%, 95%, 0%, 16%)

Accessibility

WCAG contrast compliance

On White Background

9.75:1

AA AAA

On Black Background

2.15:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F0
100
#E4DD
200
#CCC0
300
#A590
400
#7655
500
#4E25
600
#340B
700
#2909
800
#1D06
900
#1304
950
#0C03

Shades

Darker variations

1#2E0AC0
2#2909AB
3#240895
4#1F0780
5#1A066B
6#150455
7#0F0340
8#0A022B
9#050115

Tints

Lighter variations

1#3A0DF0
2#4F26F4
3#6541F5
4#7B5CF6
5#9177F8
6#A792F9
7#BDAEFB
8#D3C9FC
9#E9E4FE

Tones

Muted variations

1#3A15CB
2#401FC1
3#462AB7
4#4C34AD
5#523EA3
6#584899
7#5E528E
8#645C84
9#6A667A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F0
#F3F0FE
BackgroundsSubtle highlightsCard backgrounds
100
E4DD
#E4DDFD
Light backgroundsTable row hoverSkeleton loading
200
CCC0
#CCC0FC
Secondary backgroundsInput backgroundsDividers
300
A590
#A590F9
BordersInactive statesPlaceholder text
400
7655
#7655F6
Disabled statesSecondary iconsMuted text
500
4E25
#4E25F4
Primary brand colorCTAsActive elementsLinks
600
340B
#340BD5
Hover statesFocus ringsPrimary buttons hover
700
2909
#2909AA
Active/pressed statesDark mode accentsSecondary text
800
1D06
#1D0679
Text on light backgroundsHeadingsStrong borders
900
1304
#13044E
Primary textHigh emphasis contentDark headings
950
0C03
#0C0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --blue-50: #F3F0FE;
  --blue-100: #E4DDFD;
  --blue-200: #CCC0FC;
  --blue-300: #A590F9;
  --blue-400: #7655F6;
  --blue-500: #4E25F4;
  --blue-600: #340BD5;
  --blue-700: #2909AA;
  --blue-800: #1D0679;
  --blue-900: #13044E;
  --blue-950: #0C0330;
}
Generate More ShadesCreate PaletteConvert Color