Royal Blue

#5181FB

Blue

Color Codes

All color formats for development

HEX
#5181FB
RGB
rgb(81, 129, 251)
HSL
hsl(223, 96%, 65%)
OKLCH
oklch(0.633 0.189 265.2)
CMYK
cmyk(68%, 49%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

3.57:1

AA AAA

On Black Background

5.88:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F4
100
#DCE6
200
#BED0
300
#8CAC
400
#5081
500
#1E5D
600
#0442
700
#0434
800
#0325
900
#0218
950
#010F

Shades

Darker variations

1#3069FB
2#0F52FA
3#0544E3
4#043AC3
5#0330A2
6#032782
7#021D61
8#011341
9#010A20

Tints

Lighter variations

1#628DFC
2#739AFC
3#85A7FD
4#96B3FD
5#A8C0FD
6#B9CCFE
7#CBD9FE
8#DCE6FE
9#EEF2FF

Tones

Muted variations

1#5984F3
2#6188EA
3#6A8CE2
4#728FD9
5#7B93D1
6#8397C8
7#8C9BBF
8#959EB7
9#9DA2AE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F4
#F0F4FF
BackgroundsSubtle highlightsCard backgrounds
100
DCE6
#DCE6FE
Light backgroundsTable row hoverSkeleton loading
200
BED0
#BED0FE
Secondary backgroundsInput backgroundsDividers
300
8CAC
#8CACFD
BordersInactive statesPlaceholder text
400
5081
#5081FB
Disabled statesSecondary iconsMuted text
500
1E5D
#1E5DFA
Primary brand colorCTAsActive elementsLinks
600
0442
#0442DC
Hover statesFocus ringsPrimary buttons hover
700
0434
#0434AF
Active/pressed statesDark mode accentsSecondary text
800
0325
#03257D
Text on light backgroundsHeadingsStrong borders
900
0218
#021850
Primary textHigh emphasis contentDark headings
950
010F
#010F32
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F0F4FF;
  --royal-blue-100: #DCE6FE;
  --royal-blue-200: #BED0FE;
  --royal-blue-300: #8CACFD;
  --royal-blue-400: #5081FB;
  --royal-blue-500: #1E5DFA;
  --royal-blue-600: #0442DC;
  --royal-blue-700: #0434AF;
  --royal-blue-800: #03257D;
  --royal-blue-900: #021850;
  --royal-blue-950: #010F32;
}
Generate More ShadesCreate PaletteConvert Color