Royal Blue

#731EFA

Purple

Color Codes

All color formats for development

HEX
#731EFA
RGB
rgb(115, 30, 250)
HSL
hsl(263, 96%, 55%)
OKLCH
oklch(0.522 0.279 289.7)
CMYK
cmyk(54%, 88%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

6.37:1

AA AAA

On Black Background

3.30:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F0
100
#E9DC
200
#D6BE
300
#B78C
400
#9250
500
#731E
600
#5704
700
#4504
800
#3103
900
#2002
950
#1401

Shades

Darker variations

1#6205F7
2#5704DC
3#4C04C0
4#4103A5
5#360389
6#2C026E
7#210252
8#160137
9#0B011B

Tints

Lighter variations

1#8135FB
2#8F4BFB
3#9D62FC
4#AB78FC
5#B98FFD
6#C7A5FD
7#D5BCFE
8#E3D2FE
9#F1E9FF

Tones

Muted variations

1#7529EF
2#7834E4
3#7A3FD9
4#7D4ACE
5#7F55C3
6#8260B8
7#856BAD
8#8776A2
9#8A8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F0
#F6F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E9DC
#E9DCFE
Light backgroundsTable row hoverSkeleton loading
200
D6BE
#D6BEFE
Secondary backgroundsInput backgroundsDividers
300
B78C
#B78CFD
BordersInactive statesPlaceholder text
400
9250
#9250FB
Disabled statesSecondary iconsMuted text
500
731E
#731EFA
Primary brand colorCTAsActive elementsLinks
600
5704
#5704DC
Hover statesFocus ringsPrimary buttons hover
700
4504
#4504AF
Active/pressed statesDark mode accentsSecondary text
800
3103
#31037D
Text on light backgroundsHeadingsStrong borders
900
2002
#200250
Primary textHigh emphasis contentDark headings
950
1401
#140132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F0FF;
  --royal-blue-100: #E9DCFE;
  --royal-blue-200: #D6BEFE;
  --royal-blue-300: #B78CFD;
  --royal-blue-400: #9250FB;
  --royal-blue-500: #731EFA;
  --royal-blue-600: #5704DC;
  --royal-blue-700: #4504AF;
  --royal-blue-800: #31037D;
  --royal-blue-900: #200250;
  --royal-blue-950: #140132;
}
Generate More ShadesCreate PaletteConvert Color