Royal Blue

#5226F2

Blue

Color Codes

All color formats for development

HEX
#5226F2
RGB
rgb(82, 38, 242)
HSL
hsl(253, 89%, 55%)
OKLCH
oklch(0.49 0.271 279.4)
CMYK
cmyk(66%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

7.20: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
#F3F1
100
#E4DD
200
#CDC0
300
#A790
400
#7956
500
#5226
600
#380C
700
#2C0A
800
#2007
900
#1404
950
#0D03

Shades

Darker variations

1#3F0EEF
2#380CD4
3#310BBA
4#2A099F
5#230885
6#1C066A
7#150550
8#0E0335
9#07021B

Tints

Lighter variations

1#643CF4
2#7551F5
3#8667F6
4#977DF7
5#A993F9
6#BAA8FA
7#CBBEFB
8#DCD4FC
9#EEE9FE

Tones

Muted variations

1#5830E8
2#5E3BDE
3#6445D4
4#6A4FCA
5#6F59BF
6#7563B5
7#7B6EAB
8#8178A1
9#868296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F1
#F3F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E4DD
#E4DDFD
Light backgroundsTable row hoverSkeleton loading
200
CDC0
#CDC0FB
Secondary backgroundsInput backgroundsDividers
300
A790
#A790F9
BordersInactive statesPlaceholder text
400
7956
#7956F5
Disabled statesSecondary iconsMuted text
500
5226
#5226F2
Primary brand colorCTAsActive elementsLinks
600
380C
#380CD4
Hover statesFocus ringsPrimary buttons hover
700
2C0A
#2C0AA9
Active/pressed statesDark mode accentsSecondary text
800
2007
#200778
Text on light backgroundsHeadingsStrong borders
900
1404
#14044D
Primary textHigh emphasis contentDark headings
950
0D03
#0D0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F1FE;
  --royal-blue-100: #E4DDFD;
  --royal-blue-200: #CDC0FB;
  --royal-blue-300: #A790F9;
  --royal-blue-400: #7956F5;
  --royal-blue-500: #5226F2;
  --royal-blue-600: #380CD4;
  --royal-blue-700: #2C0AA9;
  --royal-blue-800: #200778;
  --royal-blue-900: #14044D;
  --royal-blue-950: #0D0330;
}
Generate More ShadesCreate PaletteConvert Color