Royal Blue

#5023F6

Blue

Color Codes

All color formats for development

HEX
#5023F6
RGB
rgb(80, 35, 246)
HSL
hsl(253, 92%, 55%)
OKLCH
oklch(0.49 0.277 278.5)
CMYK
cmyk(67%, 86%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

7.21:1

AA AAA

On Black Background

2.91:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F0
100
#E4DD
200
#CDBF
300
#A68E
400
#7754
500
#5023
600
#3609
700
#2B07
800
#1F05
900
#1403
950
#0C02

Shades

Darker variations

1#3C0AF2
2#3609D7
3#2F08BC
4#2807A2
5#220687
6#1B046C
7#140351
8#0D0236
9#07011B

Tints

Lighter variations

1#6239F7
2#734FF8
3#8565F9
4#967BF9
5#A891FA
6#B9A7FB
7#CBBDFC
8#DCD3FD
9#EEE9FE

Tones

Muted variations

1#562DEB
2#5C38E1
3#6242D6
4#684DCC
5#6E57C1
6#7462B6
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
#E4DDFE
Light backgroundsTable row hoverSkeleton loading
200
CDBF
#CDBFFC
Secondary backgroundsInput backgroundsDividers
300
A68E
#A68EFA
BordersInactive statesPlaceholder text
400
7754
#7754F8
Disabled statesSecondary iconsMuted text
500
5023
#5023F6
Primary brand colorCTAsActive elementsLinks
600
3609
#3609D7
Hover statesFocus ringsPrimary buttons hover
700
2B07
#2B07AB
Active/pressed statesDark mode accentsSecondary text
800
1F05
#1F057A
Text on light backgroundsHeadingsStrong borders
900
1403
#14034E
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: #E4DDFE;
  --royal-blue-200: #CDBFFC;
  --royal-blue-300: #A68EFA;
  --royal-blue-400: #7754F8;
  --royal-blue-500: #5023F6;
  --royal-blue-600: #3609D7;
  --royal-blue-700: #2B07AB;
  --royal-blue-800: #1F057A;
  --royal-blue-900: #14034E;
  --royal-blue-950: #0C0231;
}
Generate More ShadesCreate PaletteConvert Color