Royal Blue

#334EE6

Blue

Color Codes

All color formats for development

HEX
#334EE6
RGB
rgb(51, 78, 230)
HSL
hsl(231, 78%, 55%)
OKLCH
oklch(0.509 0.23 268.4)
CMYK
cmyk(78%, 66%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

6.23:1

AA AAA

On Black Background

3.37:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F3
100
#DFE3
200
#C4CC
300
#97A4
400
#6075
500
#334E
600
#1933
700
#1429
800
#0E1D
900
#0913
950
#060C

Shades

Darker variations

1#1C39E1
2#1933C8
3#162DAF
4#132696
5#0F207D
6#0C1964
7#09134B
8#060D32
9#030619

Tints

Lighter variations

1#475FE8
2#5C71EB
3#7083ED
4#8495F0
5#99A6F2
6#ADB8F5
7#C2CAF7
8#D6DCFA
9#EBEDFC

Tones

Muted variations

1#3C54DD
2#455AD4
3#4E60CB
4#5767C2
5#5F6DB9
6#6873B0
7#7179A7
8#7A809E
9#838695

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F3
#F1F3FD
BackgroundsSubtle highlightsCard backgrounds
100
DFE3
#DFE3FB
Light backgroundsTable row hoverSkeleton loading
200
C4CC
#C4CCF8
Secondary backgroundsInput backgroundsDividers
300
97A4
#97A4F2
BordersInactive statesPlaceholder text
400
6075
#6075EB
Disabled statesSecondary iconsMuted text
500
334E
#334EE6
Primary brand colorCTAsActive elementsLinks
600
1933
#1933C8
Hover statesFocus ringsPrimary buttons hover
700
1429
#14299F
Active/pressed statesDark mode accentsSecondary text
800
0E1D
#0E1D71
Text on light backgroundsHeadingsStrong borders
900
0913
#091349
Primary textHigh emphasis contentDark headings
950
060C
#060C2D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F3FD;
  --royal-blue-100: #DFE3FB;
  --royal-blue-200: #C4CCF8;
  --royal-blue-300: #97A4F2;
  --royal-blue-400: #6075EB;
  --royal-blue-500: #334EE6;
  --royal-blue-600: #1933C8;
  --royal-blue-700: #14299F;
  --royal-blue-800: #0E1D71;
  --royal-blue-900: #091349;
  --royal-blue-950: #060C2D;
}
Generate More ShadesCreate PaletteConvert Color