Royal Blue

#2F5BE9

Blue

Color Codes

All color formats for development

HEX
#2F5BE9
RGB
rgb(47, 91, 233)
HSL
hsl(226, 81%, 55%)
OKLCH
oklch(0.532 0.22 265.8)
CMYK
cmyk(80%, 61%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

5.54:1

AA AAA

On Black Background

3.79:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F4
100
#DFE5
200
#C3D0
300
#95AB
400
#5D7F
500
#2F5B
600
#1540
700
#1133
800
#0C24
900
#0817
950
#050E

Shades

Darker variations

1#1848E4
2#1540CB
3#1338B2
4#103098
5#0D287F
6#0B2066
7#08184C
8#051033
9#030819

Tints

Lighter variations

1#446BEB
2#597CEE
3#6E8CF0
4#829CF2
5#97ADF4
6#ACBDF6
7#C1CEF8
8#D5DEFB
9#EAEFFD

Tones

Muted variations

1#3960E0
2#4265D7
3#4B6ACD
4#546FC4
5#5E73BB
6#6778B1
7#707DA8
8#7A829F
9#838796

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FE
BackgroundsSubtle highlightsCard backgrounds
100
DFE5
#DFE5FC
Light backgroundsTable row hoverSkeleton loading
200
C3D0
#C3D0F9
Secondary backgroundsInput backgroundsDividers
300
95AB
#95ABF4
BordersInactive statesPlaceholder text
400
5D7F
#5D7FEE
Disabled statesSecondary iconsMuted text
500
2F5B
#2F5BE9
Primary brand colorCTAsActive elementsLinks
600
1540
#1540CB
Hover statesFocus ringsPrimary buttons hover
700
1133
#1133A2
Active/pressed statesDark mode accentsSecondary text
800
0C24
#0C2473
Text on light backgroundsHeadingsStrong borders
900
0817
#08174A
Primary textHigh emphasis contentDark headings
950
050E
#050E2E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F4FE;
  --royal-blue-100: #DFE5FC;
  --royal-blue-200: #C3D0F9;
  --royal-blue-300: #95ABF4;
  --royal-blue-400: #5D7FEE;
  --royal-blue-500: #2F5BE9;
  --royal-blue-600: #1540CB;
  --royal-blue-700: #1133A2;
  --royal-blue-800: #0C2473;
  --royal-blue-900: #08174A;
  --royal-blue-950: #050E2E;
}
Generate More ShadesCreate PaletteConvert Color