Royal Blue

#5A34E5

Blue

Color Codes

All color formats for development

HEX
#5A34E5
RGB
rgb(90, 52, 229)
HSL
hsl(253, 77%, 55%)
OKLCH
oklch(0.496 0.245 282.6)
CMYK
cmyk(61%, 77%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

6.87:1

AA AAA

On Black Background

3.06:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F1
100
#E5DF
200
#CFC4
300
#AB97
400
#7F61
500
#5A34
600
#3F1A
700
#3215
800
#240F
900
#1709
950
#0E06

Shades

Darker variations

1#471DDF
2#3F1AC7
3#3717AE
4#2F1395
5#28107C
6#200D63
7#180A4A
8#100632
9#080319

Tints

Lighter variations

1#6B48E7
2#7B5DEA
3#8C71ED
4#9C85EF
5#AD99F2
6#BDAEF4
7#CEC2F7
8#DED6FA
9#EFEBFC

Tones

Muted variations

1#5F3DDC
2#6446D3
3#694ECA
4#6E57C1
5#7360B8
6#7869B0
7#7D72A7
8#827B9E
9#878395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F1
#F4F1FD
BackgroundsSubtle highlightsCard backgrounds
100
E5DF
#E5DFFB
Light backgroundsTable row hoverSkeleton loading
200
CFC4
#CFC4F7
Secondary backgroundsInput backgroundsDividers
300
AB97
#AB97F2
BordersInactive statesPlaceholder text
400
7F61
#7F61EA
Disabled statesSecondary iconsMuted text
500
5A34
#5A34E5
Primary brand colorCTAsActive elementsLinks
600
3F1A
#3F1AC7
Hover statesFocus ringsPrimary buttons hover
700
3215
#32159E
Active/pressed statesDark mode accentsSecondary text
800
240F
#240F71
Text on light backgroundsHeadingsStrong borders
900
1709
#170948
Primary textHigh emphasis contentDark headings
950
0E06
#0E062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F1FD;
  --royal-blue-100: #E5DFFB;
  --royal-blue-200: #CFC4F7;
  --royal-blue-300: #AB97F2;
  --royal-blue-400: #7F61EA;
  --royal-blue-500: #5A34E5;
  --royal-blue-600: #3F1AC7;
  --royal-blue-700: #32159E;
  --royal-blue-800: #240F71;
  --royal-blue-900: #170948;
  --royal-blue-950: #0E062D;
}
Generate More ShadesCreate PaletteConvert Color