Royal Blue
#512FE9
BlueColor Codes
All color formats for development
HEX
#512FE9RGB
rgb(81, 47, 233)HSL
hsl(251, 81%, 55%)OKLCH
oklch(0.487 0.255 279.5)CMYK
cmyk(65%, 80%, 0%, 9%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3D18E4
2#3715CB
3#3013B2
4#291098
5#220D7F
6#1B0B66
7#14084C
8#0E0533
9#070319
Tints
Lighter variations
1#6344EB
2#7459EE
3#856EF0
4#9782F2
5#A897F4
6#BAACF6
7#CBC1F8
8#DCD5FB
9#EEEAFD
Tones
Muted variations
1#5739E0
2#5D42D7
3#634BCD
4#6954C4
5#6F5EBB
6#7567B1
7#7B70A8
8#807A9F
9#868396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F1 #F3F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4DF #E4DFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDC3 #CDC3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | A695 #A695F4 | BordersInactive statesPlaceholder text |
| 400 | 785D #785DEE | Disabled statesSecondary iconsMuted text |
| 500 | 512F #512FE9 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3715 #3715CB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B11 #2B11A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F0C #1F0C73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1408 #14084A | Primary textHigh emphasis contentDark headings |
| 950 | 0C05 #0C052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F1FE;
--royal-blue-100: #E4DFFC;
--royal-blue-200: #CDC3F9;
--royal-blue-300: #A695F4;
--royal-blue-400: #785DEE;
--royal-blue-500: #512FE9;
--royal-blue-600: #3715CB;
--royal-blue-700: #2B11A2;
--royal-blue-800: #1F0C73;
--royal-blue-900: #14084A;
--royal-blue-950: #0C052E;
}