Royal Blue

#7952FA

Blue

Color Codes

All color formats for development

HEX
#7952FA
RGB
rgb(121, 82, 250)
HSL
hsl(254, 94%, 65%)
OKLCH
oklch(0.578 0.236 287.2)
CMYK
cmyk(52%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.77:1

AA AAA

On Black Background

4.40:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E4DC
200
#CDBF
300
#A78D
400
#7952
500
#5320
600
#3807
700
#2D05
800
#2004
900
#1402
950
#0D02

Shades

Darker variations

1#6032F9
2#4712F8
3#3A07E1
4#3206C1
5#2905A1
6#210481
7#190360
8#110240
9#080120

Tints

Lighter variations

1#8663FA
2#9474FB
3#A186FB
4#AF97FC
5#BCA8FC
6#C9BAFD
7#D7CBFD
8#E4DCFE
9#F2EEFE

Tones

Muted variations

1#7D5AF1
2#8263E9
3#866BE0
4#8B73D8
5#8F7CD0
6#9484C7
7#988DBF
8#9D95B7
9#A19DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E4DC
#E4DCFE
Light backgroundsTable row hoverSkeleton loading
200
CDBF
#CDBFFD
Secondary backgroundsInput backgroundsDividers
300
A78D
#A78DFB
BordersInactive statesPlaceholder text
400
7952
#7952FA
Disabled statesSecondary iconsMuted text
500
5320
#5320F8
Primary brand colorCTAsActive elementsLinks
600
3807
#3807DA
Hover statesFocus ringsPrimary buttons hover
700
2D05
#2D05AD
Active/pressed statesDark mode accentsSecondary text
800
2004
#20047C
Text on light backgroundsHeadingsStrong borders
900
1402
#14024F
Primary textHigh emphasis contentDark headings
950
0D02
#0D0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E4DCFE;
  --royal-blue-200: #CDBFFD;
  --royal-blue-300: #A78DFB;
  --royal-blue-400: #7952FA;
  --royal-blue-500: #5320F8;
  --royal-blue-600: #3807DA;
  --royal-blue-700: #2D05AD;
  --royal-blue-800: #20047C;
  --royal-blue-900: #14024F;
  --royal-blue-950: #0D0231;
}
Generate More ShadesCreate PaletteConvert Color