Royal Blue
#5835E3
BlueColor Codes
All color formats for development
HEX
#5835E3RGB
rgb(88, 53, 227)HSL
hsl(252, 76%, 55%)OKLCH
oklch(0.493 0.242 282.1)CMYK
cmyk(61%, 77%, 0%, 11%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#451EDE
2#3D1BC5
3#3518AD
4#2E1494
5#26117B
6#1F0D63
7#170A4A
8#0F0731
9#080319
Tints
Lighter variations
1#6949E6
2#795DE9
3#8A72EC
4#9B86EE
5#AB9AF1
6#BCAEF4
7#CDC2F7
8#DED7F9
9#EEEBFC
Tones
Muted variations
1#5D3EDB
2#6246D2
3#684FC9
4#6D58C1
5#7261B8
6#7769AF
7#7D72A6
8#827B9E
9#878495
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F2 #F4F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5E0 #E5E0FB | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFC5 #CFC5F7 | Secondary backgroundsInput backgroundsDividers |
| 300 | AA98 #AA98F1 | BordersInactive statesPlaceholder text |
| 400 | 7D62 #7D62EA | Disabled statesSecondary iconsMuted text |
| 500 | 5835 #5835E3 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3D1B #3D1BC5 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3115 #31159D | Active/pressed statesDark mode accentsSecondary text |
| 800 | 230F #230F70 | Text on light backgroundsHeadingsStrong borders |
| 900 | 160A #160A48 | Primary textHigh emphasis contentDark headings |
| 950 | 0E06 #0E062D | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F2FD;
--royal-blue-100: #E5E0FB;
--royal-blue-200: #CFC5F7;
--royal-blue-300: #AA98F1;
--royal-blue-400: #7D62EA;
--royal-blue-500: #5835E3;
--royal-blue-600: #3D1BC5;
--royal-blue-700: #31159D;
--royal-blue-800: #230F70;
--royal-blue-900: #160A48;
--royal-blue-950: #0E062D;
}