Royal Blue

#304FE8

Blue

Color Codes

All color formats for development

HEX
#304FE8
RGB
rgb(48, 79, 232)
HSL
hsl(230, 80%, 55%)
OKLCH
oklch(0.511 0.232 267.7)
CMYK
cmyk(79%, 66%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

6.16:1

AA AAA

On Black Background

3.41:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F3
100
#DFE4
200
#C3CC
300
#95A5
400
#5E76
500
#304F
600
#1634
700
#122A
800
#0D1E
900
#0813
950
#050C

Shades

Darker variations

1#193BE3
2#1634CA
3#142EB1
4#112797
5#0E217E
6#0B1A65
7#08144C
8#060D32
9#030719

Tints

Lighter variations

1#4561EA
2#5A72ED
3#6E84EF
4#8395F1
5#98A7F4
6#ACB9F6
7#C1CAF8
8#D6DCFA
9#EAEDFD

Tones

Muted variations

1#3A55DF
2#435BD6
3#4C61CD
4#5568C3
5#5E6EBA
6#6874B1
7#717AA8
8#7A809F
9#838695

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F3
#F1F3FD
BackgroundsSubtle highlightsCard backgrounds
100
DFE4
#DFE4FB
Light backgroundsTable row hoverSkeleton loading
200
C3CC
#C3CCF8
Secondary backgroundsInput backgroundsDividers
300
95A5
#95A5F3
BordersInactive statesPlaceholder text
400
5E76
#5E76ED
Disabled statesSecondary iconsMuted text
500
304F
#304FE8
Primary brand colorCTAsActive elementsLinks
600
1634
#1634CA
Hover statesFocus ringsPrimary buttons hover
700
122A
#122AA1
Active/pressed statesDark mode accentsSecondary text
800
0D1E
#0D1E73
Text on light backgroundsHeadingsStrong borders
900
0813
#081349
Primary textHigh emphasis contentDark headings
950
050C
#050C2E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F3FD;
  --royal-blue-100: #DFE4FB;
  --royal-blue-200: #C3CCF8;
  --royal-blue-300: #95A5F3;
  --royal-blue-400: #5E76ED;
  --royal-blue-500: #304FE8;
  --royal-blue-600: #1634CA;
  --royal-blue-700: #122AA1;
  --royal-blue-800: #0D1E73;
  --royal-blue-900: #081349;
  --royal-blue-950: #050C2E;
}
Generate More ShadesCreate PaletteConvert Color