Royal Blue
#662DEB
PurpleColor Codes
All color formats for development
HEX
#662DEBRGB
rgb(102, 45, 235)HSL
hsl(258, 83%, 55%)OKLCH
oklch(0.505 0.256 286.6)CMYK
cmyk(57%, 81%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#5415E7
2#4B13CD
3#4211B4
4#380E9A
5#2F0C80
6#250A67
7#1C074D
8#130533
9#09021A
Tints
Lighter variations
1#7542ED
2#8557EF
3#946CF1
4#A381F3
5#B396F5
6#C2ABF7
7#D1C0F9
8#E0D5FB
9#F0EAFD
Tones
Muted variations
1#6A37E2
2#6E40D8
3#724ACF
4#7553C5
5#795DBC
6#7D66B2
7#8170A9
8#85799F
9#888396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F5F1 #F5F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E7DE #E7DEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | D3C2 #D3C2F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | B194 #B194F5 | BordersInactive statesPlaceholder text |
| 400 | 885C #885CF0 | Disabled statesSecondary iconsMuted text |
| 500 | 662D #662DEB | Primary brand colorCTAsActive elementsLinks |
| 600 | 4B13 #4B13CD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3C0F #3C0FA3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2B0B #2B0B75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1B07 #1B074B | Primary textHigh emphasis contentDark headings |
| 950 | 1104 #11042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F5F1FE;
--royal-blue-100: #E7DEFC;
--royal-blue-200: #D3C2F9;
--royal-blue-300: #B194F5;
--royal-blue-400: #885CF0;
--royal-blue-500: #662DEB;
--royal-blue-600: #4B13CD;
--royal-blue-700: #3C0FA3;
--royal-blue-800: #2B0B75;
--royal-blue-900: #1B074B;
--royal-blue-950: #11042F;
}