Royal Blue
#531AFF
PurpleColor Codes
All color formats for development
HEX
#531AFFRGB
rgb(83, 26, 255)HSL
hsl(255, 100%, 55%)OKLCH
oklch(0.497 0.289 278.8)CMYK
cmyk(67%, 90%, 0%, 0%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3F00FC
2#3800E0
3#3100C4
4#2A00A8
5#23008C
6#1C0070
7#150054
8#0E0038
9#07001C
Tints
Lighter variations
1#6430FF
2#7547FF
3#875EFF
4#9875FF
5#A98CFF
6#BAA3FF
7#CBBAFF
8#DDD1FF
9#EEE8FF
Tones
Muted variations
1#5925F4
2#5E30E8
3#643CDD
4#6A47D1
5#7053C6
6#755EBA
7#7B6AAF
8#8175A3
9#878198
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F0 #F4F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4DB #E4DBFF | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDBD #CDBDFF | Secondary backgroundsInput backgroundsDividers |
| 300 | A78A #A78AFF | BordersInactive statesPlaceholder text |
| 400 | 794D #794DFF | Disabled statesSecondary iconsMuted text |
| 500 | 531A #531AFF | Primary brand colorCTAsActive elementsLinks |
| 600 | 3800 #3800E0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2D00 #2D00B3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2000 #200080 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1400 #140052 | Primary textHigh emphasis contentDark headings |
| 950 | 0D00 #0D0033 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F0FF;
--royal-blue-100: #E4DBFF;
--royal-blue-200: #CDBDFF;
--royal-blue-300: #A78AFF;
--royal-blue-400: #794DFF;
--royal-blue-500: #531AFF;
--royal-blue-600: #3800E0;
--royal-blue-700: #2D00B3;
--royal-blue-800: #200080;
--royal-blue-900: #140052;
--royal-blue-950: #0D0033;
}