Royal Blue
#521FF9
BlueColor Codes
All color formats for development
HEX
#521FF9RGB
rgb(82, 31, 249)HSL
hsl(254, 95%, 55%)OKLCH
oklch(0.492 0.281 279)CMYK
cmyk(67%, 88%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3E06F6
2#3706DB
3#3005BF
4#2A04A4
5#230489
6#1C036D
7#150252
8#0E0137
9#07011B
Tints
Lighter variations
1#6336FA
2#754CFA
3#8662FB
4#9779FC
5#A98FFC
6#BAA5FD
7#CBBCFD
8#DCD2FE
9#EEE9FE
Tones
Muted variations
1#582AEE
2#5E35E3
3#6440D9
4#694BCE
5#6F56C3
6#7561B8
7#7B6CAD
8#8176A2
9#868197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F0 #F3F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4DC #E4DCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDBE #CDBEFD | Secondary backgroundsInput backgroundsDividers |
| 300 | A78D #A78DFC | BordersInactive statesPlaceholder text |
| 400 | 7951 #7951FB | Disabled statesSecondary iconsMuted text |
| 500 | 521F #521FF9 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3706 #3706DB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2C04 #2C04AE | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F03 #1F037C | Text on light backgroundsHeadingsStrong borders |
| 900 | 1402 #140250 | Primary textHigh emphasis contentDark headings |
| 950 | 0D01 #0D0132 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F0FF;
--royal-blue-100: #E4DCFE;
--royal-blue-200: #CDBEFD;
--royal-blue-300: #A78DFC;
--royal-blue-400: #7951FB;
--royal-blue-500: #521FF9;
--royal-blue-600: #3706DB;
--royal-blue-700: #2C04AE;
--royal-blue-800: #1F037C;
--royal-blue-900: #140250;
--royal-blue-950: #0D0132;
}