Royal Blue

#2771F1

Blue

Color Codes

All color formats for development

HEX
#2771F1
RGB
rgb(39, 113, 241)
HSL
hsl(218, 88%, 55%)
OKLCH
oklch(0.579 0.206 260.7)
CMYK
cmyk(84%, 53%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

4.45:1

AA AAA

On Black Background

4.72:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F6
100
#DDE9
200
#C1D6
300
#91B7
400
#5791
500
#2771
600
#0D56
700
#0B44
800
#0831
900
#051F
950
#0314

Shades

Darker variations

1#0F61ED
2#0D56D3
3#0C4BB9
4#0A409E
5#083684
6#072B69
7#05204F
8#031535
9#020B1A

Tints

Lighter variations

1#3D7FF3
2#528EF4
3#689CF5
4#7EAAF7
5#93B8F8
6#A9C6F9
7#BED4FB
8#D4E3FC
9#E9F1FE

Tones

Muted variations

1#3174E7
2#3B77DD
3#4679D3
4#507CC9
5#5A7FBF
6#6481B5
7#6E84AB
8#7887A0
9#828A96

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F6
#F1F6FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE9
#DDE9FD
Light backgroundsTable row hoverSkeleton loading
200
C1D6
#C1D6FB
Secondary backgroundsInput backgroundsDividers
300
91B7
#91B7F8
BordersInactive statesPlaceholder text
400
5791
#5791F4
Disabled statesSecondary iconsMuted text
500
2771
#2771F1
Primary brand colorCTAsActive elementsLinks
600
0D56
#0D56D3
Hover statesFocus ringsPrimary buttons hover
700
0B44
#0B44A8
Active/pressed statesDark mode accentsSecondary text
800
0831
#083178
Text on light backgroundsHeadingsStrong borders
900
051F
#051F4D
Primary textHigh emphasis contentDark headings
950
0314
#031430
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F6FE;
  --royal-blue-100: #DDE9FD;
  --royal-blue-200: #C1D6FB;
  --royal-blue-300: #91B7F8;
  --royal-blue-400: #5791F4;
  --royal-blue-500: #2771F1;
  --royal-blue-600: #0D56D3;
  --royal-blue-700: #0B44A8;
  --royal-blue-800: #083178;
  --royal-blue-900: #051F4D;
  --royal-blue-950: #031430;
}
Generate More ShadesCreate PaletteConvert Color