Royal Blue
#873ADF
PurpleColor Codes
All color formats for development
HEX
#873ADFRGB
rgb(135, 58, 223)HSL
hsl(268, 72%, 55%)OKLCH
oklch(0.541 0.233 299.7)CMYK
cmyk(39%, 74%, 0%, 13%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7823D9
2#6B1FC1
3#5D1BA9
4#501891
5#431479
6#351060
7#280C48
8#1B0830
9#0D0418
Tints
Lighter variations
1#934DE2
2#9F61E5
3#AB75E9
4#B789EC
5#C39CEF
6#CFB0F2
7#DBC4F5
8#E7D8F9
9#F3EBFC
Tones
Muted variations
1#8742D7
2#884ACE
3#8852C6
4#895BBE
5#8963B6
6#8A6BAD
7#8B73A5
8#8B7C9D
9#8C8495
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F2 #F7F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECE0 #ECE0FA | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCC6 #DCC6F6 | Secondary backgroundsInput backgroundsDividers |
| 300 | C29A #C29AEF | BordersInactive statesPlaceholder text |
| 400 | A165 #A165E6 | Disabled statesSecondary iconsMuted text |
| 500 | 873A #873ADF | Primary brand colorCTAsActive elementsLinks |
| 600 | 6B1F #6B1FC1 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5519 #55199A | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3D12 #3D126E | Text on light backgroundsHeadingsStrong borders |
| 900 | 270B #270B46 | Primary textHigh emphasis contentDark headings |
| 950 | 1807 #18072C | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F2FD;
--royal-blue-100: #ECE0FA;
--royal-blue-200: #DCC6F6;
--royal-blue-300: #C29AEF;
--royal-blue-400: #A165E6;
--royal-blue-500: #873ADF;
--royal-blue-600: #6B1FC1;
--royal-blue-700: #55199A;
--royal-blue-800: #3D126E;
--royal-blue-900: #270B46;
--royal-blue-950: #18072C;
}