Royal Blue

#342EEA

Blue

Color Codes

All color formats for development

HEX
#342EEA
RGB
rgb(52, 46, 234)
HSL
hsl(242, 82%, 55%)
OKLCH
oklch(0.469 0.264 271.2)
CMYK
cmyk(78%, 80%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

7.71:1

AA AAA

On Black Background

2.72:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F1
100
#DFDF
200
#C4C3
300
#9794
400
#615D
500
#342E
600
#1A14
700
#1510
800
#0F0B
900
#0A07
950
#0605

Shades

Darker variations

1#1E17E6
2#1A14CC
3#1712B3
4#140F99
5#100D80
6#0D0A66
7#0A084D
8#070533
9#03031A

Tints

Lighter variations

1#4943EC
2#5D58EE
3#716DF1
4#8582F3
5#9A97F5
6#AEABF7
7#C2C0F9
8#D6D5FB
9#EBEAFD

Tones

Muted variations

1#3D38E1
2#4641D8
3#4F4ACE
4#5854C5
5#605DBB
6#6967B2
7#7270A8
8#7B799F
9#838396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F1
#F1F1FE
BackgroundsSubtle highlightsCard backgrounds
100
DFDF
#DFDFFC
Light backgroundsTable row hoverSkeleton loading
200
C4C3
#C4C3F9
Secondary backgroundsInput backgroundsDividers
300
9794
#9794F4
BordersInactive statesPlaceholder text
400
615D
#615DEF
Disabled statesSecondary iconsMuted text
500
342E
#342EEA
Primary brand colorCTAsActive elementsLinks
600
1A14
#1A14CC
Hover statesFocus ringsPrimary buttons hover
700
1510
#1510A2
Active/pressed statesDark mode accentsSecondary text
800
0F0B
#0F0B74
Text on light backgroundsHeadingsStrong borders
900
0A07
#0A074A
Primary textHigh emphasis contentDark headings
950
0605
#06052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F1FE;
  --royal-blue-100: #DFDFFC;
  --royal-blue-200: #C4C3F9;
  --royal-blue-300: #9794F4;
  --royal-blue-400: #615DEF;
  --royal-blue-500: #342EEA;
  --royal-blue-600: #1A14CC;
  --royal-blue-700: #1510A2;
  --royal-blue-800: #0F0B74;
  --royal-blue-900: #0A074A;
  --royal-blue-950: #06052E;
}
Generate More ShadesCreate PaletteConvert Color