Royal Blue
#5252C7
BlueColor Codes
All color formats for development
HEX
#5252C7RGB
rgb(82, 82, 199)HSL
hsl(240, 51%, 55%)OKLCH
oklch(0.506 0.177 278)CMYK
cmyk(59%, 59%, 0%, 22%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3E3EBF
2#3737A9
3#303094
4#29297F
5#22226A
6#1B1B55
7#151540
8#0E0E2A
9#070715
Tints
Lighter variations
1#6363CC
2#7474D2
3#8686D8
4#9797DD
5#A8A8E3
6#BABAE9
7#CBCBEE
8#DCDCF4
9#EEEEF9
Tones
Muted variations
1#5858C1
2#5D5DBB
3#6363B5
4#6969AF
5#6F6FAA
6#7575A4
7#7B7B9E
8#818198
9#868692
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F3 #F3F3FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E4 #E4E4F6 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDCD #CDCDEF | Secondary backgroundsInput backgroundsDividers |
| 300 | A6A6 #A6A6E2 | BordersInactive statesPlaceholder text |
| 400 | 7878 #7878D3 | Disabled statesSecondary iconsMuted text |
| 500 | 5252 #5252C7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3737 #3737A9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2C2C #2C2C87 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F1F #1F1F60 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1414 #14143E | Primary textHigh emphasis contentDark headings |
| 950 | 0C0C #0C0C27 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F3FB;
--royal-blue-100: #E4E4F6;
--royal-blue-200: #CDCDEF;
--royal-blue-300: #A6A6E2;
--royal-blue-400: #7878D3;
--royal-blue-500: #5252C7;
--royal-blue-600: #3737A9;
--royal-blue-700: #2C2C87;
--royal-blue-800: #1F1F60;
--royal-blue-900: #14143E;
--royal-blue-950: #0C0C27;
}