Royal Blue
#5A27F1
PurpleColor Codes
All color formats for development
HEX
#5A27F1RGB
rgb(90, 39, 241)HSL
hsl(255, 88%, 55%)OKLCH
oklch(0.496 0.268 282.1)CMYK
cmyk(63%, 84%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#470FED
2#3F0DD3
3#370CB9
4#2F0A9E
5#270884
6#1F0769
7#18054F
8#100335
9#08021A
Tints
Lighter variations
1#6A3DF3
2#7B52F4
3#8B68F5
4#9C7EF7
5#AC93F8
6#BDA9F9
7#CDBEFB
8#DED4FC
9#EEE9FE
Tones
Muted variations
1#5F31E7
2#643BDD
3#6946D3
4#6E50C9
5#735ABF
6#7864B5
7#7D6EAB
8#8278A0
9#878296
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5DD #E5DDFD | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFC1 #CFC1FB | Secondary backgroundsInput backgroundsDividers |
| 300 | AB91 #AB91F8 | BordersInactive statesPlaceholder text |
| 400 | 7E57 #7E57F4 | Disabled statesSecondary iconsMuted text |
| 500 | 5A27 #5A27F1 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3F0D #3F0DD3 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 320B #320BA8 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2408 #240878 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1705 #17054D | Primary textHigh emphasis contentDark headings |
| 950 | 0E03 #0E0330 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E5DDFD;
--royal-blue-200: #CFC1FB;
--royal-blue-300: #AB91F8;
--royal-blue-400: #7E57F4;
--royal-blue-500: #5A27F1;
--royal-blue-600: #3F0DD3;
--royal-blue-700: #320BA8;
--royal-blue-800: #240878;
--royal-blue-900: #17054D;
--royal-blue-950: #0E0330;
}