Royal Blue

#7528F0

Purple

Color Codes

All color formats for development

HEX
#7528F0
RGB
rgb(117, 40, 240)
HSL
hsl(263, 87%, 55%)
OKLCH
oklch(0.521 0.264 291.5)
CMYK
cmyk(51%, 83%, 0%, 6%)

Accessibility

WCAG contrast compliance

On White Background

6.33:1

AA AAA

On Black Background

3.32:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F1
100
#EADE
200
#D7C1
300
#B891
400
#9458
500
#7528
600
#590F
700
#470C
800
#3308
900
#2105
950
#1403

Shades

Darker variations

1#6510EC
2#590FD2
3#4E0DB8
4#430B9D
5#380983
6#2D0769
7#22054F
8#160434
9#0B021A

Tints

Lighter variations

1#833EF2
2#9153F3
3#9E69F5
4#AC7EF6
5#BA94F8
6#C8A9F9
7#D6BFFB
8#E3D4FC
9#F1EAFE

Tones

Muted variations

1#7732E6
2#7A3CDC
3#7C46D2
4#7E50C8
5#815ABE
6#8364B4
7#856EAA
8#8878A0
9#8A8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F1
#F6F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EADE
#EADEFD
Light backgroundsTable row hoverSkeleton loading
200
D7C1
#D7C1FB
Secondary backgroundsInput backgroundsDividers
300
B891
#B891F7
BordersInactive statesPlaceholder text
400
9458
#9458F3
Disabled statesSecondary iconsMuted text
500
7528
#7528F0
Primary brand colorCTAsActive elementsLinks
600
590F
#590FD2
Hover statesFocus ringsPrimary buttons hover
700
470C
#470CA7
Active/pressed statesDark mode accentsSecondary text
800
3308
#330877
Text on light backgroundsHeadingsStrong borders
900
2105
#21054C
Primary textHigh emphasis contentDark headings
950
1403
#140330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F1FE;
  --royal-blue-100: #EADEFD;
  --royal-blue-200: #D7C1FB;
  --royal-blue-300: #B891F7;
  --royal-blue-400: #9458F3;
  --royal-blue-500: #7528F0;
  --royal-blue-600: #590FD2;
  --royal-blue-700: #470CA7;
  --royal-blue-800: #330877;
  --royal-blue-900: #21054C;
  --royal-blue-950: #140330;
}
Generate More ShadesCreate PaletteConvert Color