Royal Blue
#5B2BEE
PurpleColor Codes
All color formats for development
HEX
#5B2BEERGB
rgb(91, 43, 238)HSL
hsl(255, 85%, 55%)OKLCH
oklch(0.497 0.262 282.6)CMYK
cmyk(62%, 82%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4913EA
2#4111D0
3#380FB6
4#300D9C
5#280B82
6#200868
7#18064E
8#100434
9#08021A
Tints
Lighter variations
1#6C40F0
2#7C55F1
3#8D6AF3
4#9D80F5
5#AD95F6
6#BEAAF8
7#CEBFFA
8#DED5FC
9#EFEAFD
Tones
Muted variations
1#6034E4
2#653EDA
3#6A48D1
4#6F52C7
5#745BBD
6#7965B3
7#7E6FAA
8#8279A0
9#878296
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E6DE #E6DEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | D0C2 #D0C2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | AB92 #AB92F6 | BordersInactive statesPlaceholder text |
| 400 | 805A #805AF2 | Disabled statesSecondary iconsMuted text |
| 500 | 5B2B #5B2BEE | Primary brand colorCTAsActive elementsLinks |
| 600 | 4111 #4111D0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 330D #330DA5 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 250A #250A76 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1706 #17064B | Primary textHigh emphasis contentDark headings |
| 950 | 0F04 #0F042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E6DEFC;
--royal-blue-200: #D0C2FA;
--royal-blue-300: #AB92F6;
--royal-blue-400: #805AF2;
--royal-blue-500: #5B2BEE;
--royal-blue-600: #4111D0;
--royal-blue-700: #330DA5;
--royal-blue-800: #250A76;
--royal-blue-900: #17064B;
--royal-blue-950: #0F042F;
}