Royal Blue

#642FE9

Purple

Color Codes

All color formats for development

HEX
#642FE9
RGB
rgb(100, 47, 233)
HSL
hsl(257, 81%, 55%)
OKLCH
oklch(0.503 0.253 286)
CMYK
cmyk(57%, 80%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

6.72:1

AA AAA

On Black Background

3.13:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E7DF
200
#D2C3
300
#B095
400
#865D
500
#642F
600
#4915
700
#3A11
800
#290C
900
#1A08
950
#1105

Shades

Darker variations

1#5218E4
2#4915CB
3#4013B2
4#371098
5#2E0D7F
6#240B66
7#1B084C
8#120533
9#090319

Tints

Lighter variations

1#7344EB
2#8359EE
3#926EF0
4#A282F2
5#B197F4
6#C1ACF6
7#D0C1F8
8#E0D5FB
9#EFEAFD

Tones

Muted variations

1#6839E0
2#6C42D7
3#704BCD
4#7454C4
5#785EBB
6#7C67B1
7#8070A8
8#847A9F
9#888396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E7DF
#E7DFFC
Light backgroundsTable row hoverSkeleton loading
200
D2C3
#D2C3F9
Secondary backgroundsInput backgroundsDividers
300
B095
#B095F4
BordersInactive statesPlaceholder text
400
865D
#865DEE
Disabled statesSecondary iconsMuted text
500
642F
#642FE9
Primary brand colorCTAsActive elementsLinks
600
4915
#4915CB
Hover statesFocus ringsPrimary buttons hover
700
3A11
#3A11A2
Active/pressed statesDark mode accentsSecondary text
800
290C
#290C73
Text on light backgroundsHeadingsStrong borders
900
1A08
#1A084A
Primary textHigh emphasis contentDark headings
950
1105
#11052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FE;
  --royal-blue-100: #E7DFFC;
  --royal-blue-200: #D2C3F9;
  --royal-blue-300: #B095F4;
  --royal-blue-400: #865DEE;
  --royal-blue-500: #642FE9;
  --royal-blue-600: #4915CB;
  --royal-blue-700: #3A11A2;
  --royal-blue-800: #290C73;
  --royal-blue-900: #1A084A;
  --royal-blue-950: #11052E;
}
Generate More ShadesCreate PaletteConvert Color