Royal Blue

#305BE8

Blue

Color Codes

All color formats for development

HEX
#305BE8
RGB
rgb(48, 91, 232)
HSL
hsl(226, 80%, 55%)
OKLCH
oklch(0.532 0.218 265.9)
CMYK
cmyk(79%, 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
#DFE6
200
#C3D0
300
#95AB
400
#5E80
500
#305B
600
#1640
700
#1233
800
#0D25
900
#0817
950
#050F

Shades

Darker variations

1#1948E3
2#1640CA
3#1438B1
4#113097
5#0E287E
6#0B2065
7#08184C
8#061032
9#030819

Tints

Lighter variations

1#456CEA
2#5A7CED
3#6E8CEF
4#839DF1
5#98ADF4
6#ACBEF6
7#C1CEF8
8#D6DEFA
9#EAEFFD

Tones

Muted variations

1#3A60DF
2#4365D6
3#4C6ACD
4#556FC3
5#5E74BA
6#6879B1
7#717EA8
8#7A829F
9#838795

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FD
BackgroundsSubtle highlightsCard backgrounds
100
DFE6
#DFE6FB
Light backgroundsTable row hoverSkeleton loading
200
C3D0
#C3D0F8
Secondary backgroundsInput backgroundsDividers
300
95AB
#95ABF3
BordersInactive statesPlaceholder text
400
5E80
#5E80ED
Disabled statesSecondary iconsMuted text
500
305B
#305BE8
Primary brand colorCTAsActive elementsLinks
600
1640
#1640CA
Hover statesFocus ringsPrimary buttons hover
700
1233
#1233A1
Active/pressed statesDark mode accentsSecondary text
800
0D25
#0D2573
Text on light backgroundsHeadingsStrong borders
900
0817
#081749
Primary textHigh emphasis contentDark headings
950
050F
#050F2E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F4FD;
  --royal-blue-100: #DFE6FB;
  --royal-blue-200: #C3D0F8;
  --royal-blue-300: #95ABF3;
  --royal-blue-400: #5E80ED;
  --royal-blue-500: #305BE8;
  --royal-blue-600: #1640CA;
  --royal-blue-700: #1233A1;
  --royal-blue-800: #0D2573;
  --royal-blue-900: #081749;
  --royal-blue-950: #050F2E;
}
Generate More ShadesCreate PaletteConvert Color