Royal Blue
#9020F8
PurpleColor Codes
All color formats for development
HEX
#9020F8RGB
rgb(144, 32, 248)HSL
hsl(271, 94%, 55%)OKLCH
oklch(0.553 0.278 299.6)CMYK
cmyk(42%, 87%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#8208F5
2#7407DA
3#6506BE
4#5705A3
5#480488
6#3A036D
7#2B0352
8#1D0236
9#0E011B
Tints
Lighter variations
1#9B37F9
2#A64DF9
3#B163FA
4#BC79FB
5#C790FC
6#D3A6FC
7#DEBCFD
8#E9D2FE
9#F4E9FE
Tones
Muted variations
1#8F2BED
2#8F36E3
3#8F41D8
4#8E4CCD
5#8E56C2
6#8E61B7
7#8D6CAD
8#8D77A2
9#8D8197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F8F0 #F8F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EEDC #EEDCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | DFBF #DFBFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | C68D #C68DFB | BordersInactive statesPlaceholder text |
| 400 | A952 #A952FA | Disabled statesSecondary iconsMuted text |
| 500 | 9020 #9020F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 7407 #7407DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5C05 #5C05AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4204 #42047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 2A02 #2A024F | Primary textHigh emphasis contentDark headings |
| 950 | 1A02 #1A0231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F8F0FF;
--royal-blue-100: #EEDCFE;
--royal-blue-200: #DFBFFD;
--royal-blue-300: #C68DFB;
--royal-blue-400: #A952FA;
--royal-blue-500: #9020F8;
--royal-blue-600: #7407DA;
--royal-blue-700: #5C05AD;
--royal-blue-800: #42047C;
--royal-blue-900: #2A024F;
--royal-blue-950: #1A0231;
}