Royal Blue
#5A22F7
PurpleColor Codes
All color formats for development
HEX
#5A22F7RGB
rgb(90, 34, 247)HSL
hsl(256, 93%, 55%)OKLCH
oklch(0.498 0.277 281.6)CMYK
cmyk(64%, 86%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4709F4
2#4008D9
3#3807BD
4#3006A2
5#280587
6#20046C
7#180351
8#100236
9#08011B
Tints
Lighter variations
1#6B38F8
2#7B4EF9
3#8C64F9
4#9C7AFA
5#AD90FB
6#BDA6FC
7#CEBDFD
8#DED3FD
9#EFE9FE
Tones
Muted variations
1#5F2CEC
2#6437E2
3#6942D7
4#6E4CCC
5#7357C2
6#7862B7
7#7D6CAC
8#8277A2
9#878297
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F0 #F4F0FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5DD #E5DDFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFBF #CFBFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | AB8E #AB8EFB | BordersInactive statesPlaceholder text |
| 400 | 7F53 #7F53F9 | Disabled statesSecondary iconsMuted text |
| 500 | 5A22 #5A22F7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 4008 #4008D9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3306 #3306AC | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2404 #24047B | Text on light backgroundsHeadingsStrong borders |
| 900 | 1703 #17034F | Primary textHigh emphasis contentDark headings |
| 950 | 0E02 #0E0231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F0FE;
--royal-blue-100: #E5DDFE;
--royal-blue-200: #CFBFFD;
--royal-blue-300: #AB8EFB;
--royal-blue-400: #7F53F9;
--royal-blue-500: #5A22F7;
--royal-blue-600: #4008D9;
--royal-blue-700: #3306AC;
--royal-blue-800: #24047B;
--royal-blue-900: #17034F;
--royal-blue-950: #0E0231;
}