Royal Blue

#511DFC

Blue

Color Codes

All color formats for development

HEX
#511DFC
RGB
rgb(81, 29, 252)
HSL
hsl(254, 97%, 55%)
OKLCH
oklch(0.493 0.286 278.5)
CMYK
cmyk(68%, 88%, 0%, 1%)

Accessibility

WCAG contrast compliance

On White Background

7.16:1

AA AAA

On Black Background

2.93:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F0
100
#E4DC
200
#CDBE
300
#A68B
400
#784F
500
#511D
600
#3603
700
#2B03
800
#1F02
900
#1401
950
#0C01

Shades

Darker variations

1#3D04F9
2#3603DD
3#2F03C1
4#2903A6
5#22028A
6#1B026F
7#140153
8#0E0137
9#07001C

Tints

Lighter variations

1#6234FC
2#744AFC
3#8561FD
4#9777FD
5#A88EFD
6#B9A5FE
7#CBBBFE
8#DCD2FE
9#EEE8FF

Tones

Muted variations

1#5728F0
2#5D33E5
3#633EDA
4#6949CF
5#6F55C4
6#7560B9
7#7A6BAE
8#8076A3
9#868197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F0
#F3F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E4DC
#E4DCFE
Light backgroundsTable row hoverSkeleton loading
200
CDBE
#CDBEFE
Secondary backgroundsInput backgroundsDividers
300
A68B
#A68BFD
BordersInactive statesPlaceholder text
400
784F
#784FFC
Disabled statesSecondary iconsMuted text
500
511D
#511DFC
Primary brand colorCTAsActive elementsLinks
600
3603
#3603DD
Hover statesFocus ringsPrimary buttons hover
700
2B03
#2B03B0
Active/pressed statesDark mode accentsSecondary text
800
1F02
#1F027E
Text on light backgroundsHeadingsStrong borders
900
1401
#140150
Primary textHigh emphasis contentDark headings
950
0C01
#0C0132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F0FF;
  --royal-blue-100: #E4DCFE;
  --royal-blue-200: #CDBEFE;
  --royal-blue-300: #A68BFD;
  --royal-blue-400: #784FFC;
  --royal-blue-500: #511DFC;
  --royal-blue-600: #3603DD;
  --royal-blue-700: #2B03B0;
  --royal-blue-800: #1F027E;
  --royal-blue-900: #140150;
  --royal-blue-950: #0C0132;
}
Generate More ShadesCreate PaletteConvert Color