Royal Blue
#862DEB
PurpleColor Codes
All color formats for development
HEX
#862DEBRGB
rgb(134, 45, 235)HSL
hsl(268, 83%, 55%)OKLCH
oklch(0.538 0.257 298)CMYK
cmyk(43%, 81%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7715E7
2#6A13CD
3#5D11B4
4#4F0E9A
5#420C80
6#350A67
7#28074D
8#1A0533
9#0D021A
Tints
Lighter variations
1#9242ED
2#9E57EF
3#AA6CF1
4#B681F3
5#C296F5
6#CFABF7
7#DBC0F9
8#E7D5FB
9#F3EAFD
Tones
Muted variations
1#8737E2
2#8740D8
3#884ACF
4#8853C5
5#895DBC
6#8A66B2
7#8A70A9
8#8B799F
9#8C8396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDE #ECDEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | DCC2 #DCC2F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | C194 #C194F5 | BordersInactive statesPlaceholder text |
| 400 | A15C #A15CF0 | Disabled statesSecondary iconsMuted text |
| 500 | 862D #862DEB | Primary brand colorCTAsActive elementsLinks |
| 600 | 6A13 #6A13CD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 540F #540FA3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3C0B #3C0B75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2707 #27074B | Primary textHigh emphasis contentDark headings |
| 950 | 1804 #18042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F1FE;
--royal-blue-100: #ECDEFC;
--royal-blue-200: #DCC2F9;
--royal-blue-300: #C194F5;
--royal-blue-400: #A15CF0;
--royal-blue-500: #862DEB;
--royal-blue-600: #6A13CD;
--royal-blue-700: #540FA3;
--royal-blue-800: #3C0B75;
--royal-blue-900: #27074B;
--royal-blue-950: #18042F;
}