Royal Blue

#6520F8

Purple

Color Codes

All color formats for development

HEX
#6520F8
RGB
rgb(101, 32, 248)
HSL
hsl(259, 94%, 55%)
OKLCH
oklch(0.508 0.277 285.2)
CMYK
cmyk(59%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

6.74:1

AA AAA

On Black Background

3.12:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F0
100
#E7DC
200
#D2BF
300
#B08D
400
#8752
500
#6520
600
#4A07
700
#3A05
800
#2A04
900
#1B02
950
#1102

Shades

Darker variations

1#5308F5
2#4A07DA
3#4006BE
4#3705A3
5#2E0488
6#25036D
7#1C0352
8#120236
9#09011B

Tints

Lighter variations

1#7437F9
2#844DF9
3#9363FA
4#A279FB
5#B290FC
6#C1A6FC
7#D1BCFD
8#E0D2FE
9#F0E9FE

Tones

Muted variations

1#692BED
2#6D36E3
3#7141D8
4#754CCD
5#7856C2
6#7C61B7
7#806CAD
8#8477A2
9#888197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E7DC
#E7DCFE
Light backgroundsTable row hoverSkeleton loading
200
D2BF
#D2BFFD
Secondary backgroundsInput backgroundsDividers
300
B08D
#B08DFB
BordersInactive statesPlaceholder text
400
8752
#8752FA
Disabled statesSecondary iconsMuted text
500
6520
#6520F8
Primary brand colorCTAsActive elementsLinks
600
4A07
#4A07DA
Hover statesFocus ringsPrimary buttons hover
700
3A05
#3A05AD
Active/pressed statesDark mode accentsSecondary text
800
2A04
#2A047C
Text on light backgroundsHeadingsStrong borders
900
1B02
#1B024F
Primary textHigh emphasis contentDark headings
950
1102
#110231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E7DCFE;
  --royal-blue-200: #D2BFFD;
  --royal-blue-300: #B08DFB;
  --royal-blue-400: #8752FA;
  --royal-blue-500: #6520F8;
  --royal-blue-600: #4A07DA;
  --royal-blue-700: #3A05AD;
  --royal-blue-800: #2A047C;
  --royal-blue-900: #1B024F;
  --royal-blue-950: #110231;
}
Generate More ShadesCreate PaletteConvert Color