Royal Blue

#787AD3

Blue

Color Codes

All color formats for development

HEX
#787AD3
RGB
rgb(120, 122, 211)
HSL
hsl(239, 51%, 65%)
OKLCH
oklch(0.618 0.133 280.8)
CMYK
cmyk(43%, 42%, 0%, 17%)

Accessibility

WCAG contrast compliance

On White Background

3.80:1

AA AAA

On Black Background

5.52:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F4
100
#E4E4
200
#CDCE
300
#A6A7
400
#787A
500
#5254
600
#3739
700
#2C2D
800
#1F20
900
#1415
950
#0C0D

Shades

Darker variations

1#5F61CB
2#4648C3
3#393BAF
4#313296
5#292A7D
6#202264
7#18194B
8#101132
9#080819

Tints

Lighter variations

1#8687D8
2#9394DC
3#A1A2E0
4#AEAFE5
5#BCBCE9
6#C9CAEE
7#D7D7F2
8#E4E4F6
9#F2F2FB

Tones

Muted variations

1#7D7ECF
2#8183CA
3#8687C6
4#8A8BC1
5#8F90BD
6#9494B8
7#9899B3
8#9D9DAF
9#A1A1AA

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F4
#F3F4FB
BackgroundsSubtle highlightsCard backgrounds
100
E4E4
#E4E4F6
Light backgroundsTable row hoverSkeleton loading
200
CDCE
#CDCEEF
Secondary backgroundsInput backgroundsDividers
300
A6A7
#A6A7E2
BordersInactive statesPlaceholder text
400
787A
#787AD3
Disabled statesSecondary iconsMuted text
500
5254
#5254C7
Primary brand colorCTAsActive elementsLinks
600
3739
#3739A9
Hover statesFocus ringsPrimary buttons hover
700
2C2D
#2C2D87
Active/pressed statesDark mode accentsSecondary text
800
1F20
#1F2060
Text on light backgroundsHeadingsStrong borders
900
1415
#14153E
Primary textHigh emphasis contentDark headings
950
0C0D
#0C0D27
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F4FB;
  --royal-blue-100: #E4E4F6;
  --royal-blue-200: #CDCEEF;
  --royal-blue-300: #A6A7E2;
  --royal-blue-400: #787AD3;
  --royal-blue-500: #5254C7;
  --royal-blue-600: #3739A9;
  --royal-blue-700: #2C2D87;
  --royal-blue-800: #1F2060;
  --royal-blue-900: #14153E;
  --royal-blue-950: #0C0D27;
}
Generate More ShadesCreate PaletteConvert Color