Royal Blue

#5124F5

Blue

Color Codes

All color formats for development

HEX
#5124F5
RGB
rgb(81, 36, 245)
HSL
hsl(253, 91%, 55%)
OKLCH
oklch(0.49 0.275 278.9)
CMYK
cmyk(67%, 85%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

7.19:1

AA AAA

On Black Background

2.92:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F0
100
#E4DD
200
#CDC0
300
#A68F
400
#7855
500
#5124
600
#360A
700
#2B08
800
#1F06
900
#1404
950
#0C02

Shades

Darker variations

1#3D0BF1
2#360AD6
3#3009BC
4#2908A1
5#220686
6#1B056B
7#140450
8#0E0336
9#07011B

Tints

Lighter variations

1#623AF6
2#7450F7
3#8566F8
4#977BF9
5#A891FA
6#B9A7FB
7#CBBDFC
8#DCD3FD
9#EEE9FE

Tones

Muted variations

1#572EEA
2#5D39E0
3#6343D5
4#694ECB
5#6F58C0
6#7562B6
7#7A6DAC
8#8077A1
9#868297

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
CDC0
#CDC0FC
Secondary backgroundsInput backgroundsDividers
300
A68F
#A68FFA
BordersInactive statesPlaceholder text
400
7855
#7855F7
Disabled statesSecondary iconsMuted text
500
5124
#5124F5
Primary brand colorCTAsActive elementsLinks
600
360A
#360AD6
Hover statesFocus ringsPrimary buttons hover
700
2B08
#2B08AA
Active/pressed statesDark mode accentsSecondary text
800
1F06
#1F067A
Text on light backgroundsHeadingsStrong borders
900
1404
#14044E
Primary textHigh emphasis contentDark headings
950
0C02
#0C0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F0FE;
  --royal-blue-100: #E4DDFD;
  --royal-blue-200: #CDC0FC;
  --royal-blue-300: #A68FFA;
  --royal-blue-400: #7855F7;
  --royal-blue-500: #5124F5;
  --royal-blue-600: #360AD6;
  --royal-blue-700: #2B08AA;
  --royal-blue-800: #1F067A;
  --royal-blue-900: #14044E;
  --royal-blue-950: #0C0231;
}
Generate More ShadesCreate PaletteConvert Color