Royal Blue
#851DFC
PurpleColor Codes
All color formats for development
HEX
#851DFCRGB
rgb(133, 29, 252)HSL
hsl(268, 97%, 55%)OKLCH
oklch(0.542 0.282 295.4)CMYK
cmyk(47%, 88%, 0%, 1%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7604F9
2#6903DD
3#5C03C1
4#4F03A6
5#42028A
6#34026F
7#270153
8#1A0137
9#0D001C
Tints
Lighter variations
1#9134FC
2#9D4AFC
3#A961FD
4#B677FD
5#C28EFD
6#CEA5FE
7#DABBFE
8#E7D2FE
9#F3E8FF
Tones
Muted variations
1#8628F0
2#8633E5
3#873EDA
4#8849CF
5#8955C4
6#8960B9
7#8A6BAE
8#8B76A3
9#8C8197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F0 #F7F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDC #ECDCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCBE #DCBEFE | Secondary backgroundsInput backgroundsDividers |
| 300 | C18B #C18BFD | BordersInactive statesPlaceholder text |
| 400 | A04F #A04FFC | Disabled statesSecondary iconsMuted text |
| 500 | 851D #851DFC | Primary brand colorCTAsActive elementsLinks |
| 600 | 6903 #6903DD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5303 #5303B0 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3C02 #3C027E | Text on light backgroundsHeadingsStrong borders |
| 900 | 2601 #260150 | Primary textHigh emphasis contentDark headings |
| 950 | 1801 #180132 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F0FF;
--royal-blue-100: #ECDCFE;
--royal-blue-200: #DCBEFE;
--royal-blue-300: #C18BFD;
--royal-blue-400: #A04FFC;
--royal-blue-500: #851DFC;
--royal-blue-600: #6903DD;
--royal-blue-700: #5303B0;
--royal-blue-800: #3C027E;
--royal-blue-900: #260150;
--royal-blue-950: #180132;
}