Royal Blue

#702DEB

Purple

Color Codes

All color formats for development

HEX
#702DEB
RGB
rgb(112, 45, 235)
HSL
hsl(261, 83%, 55%)
OKLCH
oklch(0.515 0.256 290.2)
CMYK
cmyk(52%, 81%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

6.43:1

AA AAA

On Black Background

3.26:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E9DE
200
#D6C2
300
#B694
400
#905C
500
#702D
600
#5413
700
#430F
800
#300B
900
#1F07
950
#1304

Shades

Darker variations

1#5F15E7
2#5413CD
3#4A11B4
4#3F0E9A
5#350C80
6#2A0A67
7#20074D
8#150533
9#0B021A

Tints

Lighter variations

1#7E42ED
2#8C57EF
3#9B6CF1
4#A981F3
5#B796F5
6#C6ABF7
7#D4C0F9
8#E2D5FB
9#F1EAFD

Tones

Muted variations

1#7337E2
2#7540D8
3#784ACF
4#7B53C5
5#7E5DBC
6#8166B2
7#8470A9
8#87799F
9#898396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E9DE
#E9DEFC
Light backgroundsTable row hoverSkeleton loading
200
D6C2
#D6C2F9
Secondary backgroundsInput backgroundsDividers
300
B694
#B694F5
BordersInactive statesPlaceholder text
400
905C
#905CF0
Disabled statesSecondary iconsMuted text
500
702D
#702DEB
Primary brand colorCTAsActive elementsLinks
600
5413
#5413CD
Hover statesFocus ringsPrimary buttons hover
700
430F
#430FA3
Active/pressed statesDark mode accentsSecondary text
800
300B
#300B75
Text on light backgroundsHeadingsStrong borders
900
1F07
#1F074B
Primary textHigh emphasis contentDark headings
950
1304
#13042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FE;
  --royal-blue-100: #E9DEFC;
  --royal-blue-200: #D6C2F9;
  --royal-blue-300: #B694F5;
  --royal-blue-400: #905CF0;
  --royal-blue-500: #702DEB;
  --royal-blue-600: #5413CD;
  --royal-blue-700: #430FA3;
  --royal-blue-800: #300B75;
  --royal-blue-900: #1F074B;
  --royal-blue-950: #13042F;
}
Generate More ShadesCreate PaletteConvert Color