Royal Blue
#7F5DEF
BlueColor Codes
All color formats for development
HEX
#7F5DEFRGB
rgb(127, 93, 239)HSL
hsl(254, 82%, 65%)OKLCH
oklch(0.591 0.209 289.1)CMYK
cmyk(47%, 61%, 0%, 6%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#673EEC
2#4F20E9
3#4115D3
4#3812B5
5#2F0F97
6#250C79
7#1C095A
8#13063C
9#09031E
Tints
Lighter variations
1#8C6DF1
2#987DF2
3#A58DF4
4#B29EF5
5#BFAEF7
6#CCBEF9
7#D9CEFA
8#E5DFFC
9#F2EFFD
Tones
Muted variations
1#8364E8
2#876BE0
3#8A73D9
4#8E7AD2
5#9281CA
6#9688C3
7#9A90BC
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 | E5DF #E5DFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFC3 #CFC3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | AB94 #AB94F4 | BordersInactive statesPlaceholder text |
| 400 | 7F5D #7F5DEF | Disabled statesSecondary iconsMuted text |
| 500 | 5A2E #5A2EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 3F14 #3F14CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3210 #3210A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 240B #240B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1707 #17074A | Primary textHigh emphasis contentDark headings |
| 950 | 0E05 #0E052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E5DFFC;
--royal-blue-200: #CFC3F9;
--royal-blue-300: #AB94F4;
--royal-blue-400: #7F5DEF;
--royal-blue-500: #5A2EEA;
--royal-blue-600: #3F14CC;
--royal-blue-700: #3210A2;
--royal-blue-800: #240B74;
--royal-blue-900: #17074A;
--royal-blue-950: #0E052E;
}