Royal Blue

#502DEB

Blue

Color Codes

All color formats for development

HEX
#502DEB
RGB
rgb(80, 45, 235)
HSL
hsl(251, 83%, 55%)
OKLCH
oklch(0.487 0.259 279.1)
CMYK
cmyk(66%, 81%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

7.20:1

AA AAA

On Black Background

2.92:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F1
100
#E4DE
200
#CCC2
300
#A694
400
#775C
500
#502D
600
#3513
700
#2A0F
800
#1E0B
900
#1307
950
#0C04

Shades

Darker variations

1#3C15E7
2#3513CD
3#2F11B4
4#280E9A
5#210C80
6#1B0A67
7#14074D
8#0D0533
9#07021A

Tints

Lighter variations

1#6142ED
2#7357EF
3#846CF1
4#9681F3
5#A796F5
6#B9ABF7
7#CAC0F9
8#DCD5FB
9#EDEAFD

Tones

Muted variations

1#5637E2
2#5C40D8
3#624ACF
4#6853C5
5#6E5DBC
6#7466B2
7#7A70A9
8#80799F
9#868396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F1
#F3F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E4DE
#E4DEFC
Light backgroundsTable row hoverSkeleton loading
200
CCC2
#CCC2F9
Secondary backgroundsInput backgroundsDividers
300
A694
#A694F5
BordersInactive statesPlaceholder text
400
775C
#775CF0
Disabled statesSecondary iconsMuted text
500
502D
#502DEB
Primary brand colorCTAsActive elementsLinks
600
3513
#3513CD
Hover statesFocus ringsPrimary buttons hover
700
2A0F
#2A0FA3
Active/pressed statesDark mode accentsSecondary text
800
1E0B
#1E0B75
Text on light backgroundsHeadingsStrong borders
900
1307
#13074B
Primary textHigh emphasis contentDark headings
950
0C04
#0C042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F3F1FE;
  --royal-blue-100: #E4DEFC;
  --royal-blue-200: #CCC2F9;
  --royal-blue-300: #A694F5;
  --royal-blue-400: #775CF0;
  --royal-blue-500: #502DEB;
  --royal-blue-600: #3513CD;
  --royal-blue-700: #2A0FA3;
  --royal-blue-800: #1E0B75;
  --royal-blue-900: #13074B;
  --royal-blue-950: #0C042F;
}
Generate More ShadesCreate PaletteConvert Color