Royal Blue
#815DEF
PurpleColor Codes
All color formats for development
HEX
#815DEFRGB
rgb(129, 93, 239)HSL
hsl(255, 82%, 65%)OKLCH
oklch(0.593 0.209 289.8)CMYK
cmyk(46%, 61%, 0%, 6%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#6A3EEC
2#5220E9
3#4415D3
4#3B12B5
5#310F97
6#270C79
7#1D095A
8#14063C
9#0A031E
Tints
Lighter variations
1#8E6DF1
2#9A7DF2
3#A78DF4
4#B39EF5
5#C0AEF7
6#CDBEF9
7#D9CEFA
8#E6DFFC
9#F2EFFD
Tones
Muted variations
1#8564E8
2#886BE0
3#8C73D9
4#907AD2
5#9381CA
6#9788C3
7#9B90BC
8#9E97B4
9#A29EAD
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E6DF #E6DFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | D0C3 #D0C3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | AC94 #AC94F4 | BordersInactive statesPlaceholder text |
| 400 | 815D #815DEF | Disabled statesSecondary iconsMuted text |
| 500 | 5D2E #5D2EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 4214 #4214CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3510 #3510A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 260B #260B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1807 #18074A | Primary textHigh emphasis contentDark headings |
| 950 | 0F05 #0F052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E6DFFC;
--royal-blue-200: #D0C3F9;
--royal-blue-300: #AC94F4;
--royal-blue-400: #815DEF;
--royal-blue-500: #5D2EEA;
--royal-blue-600: #4214CC;
--royal-blue-700: #3510A2;
--royal-blue-800: #260B74;
--royal-blue-900: #18074A;
--royal-blue-950: #0F052E;
}