Royal Blue
#512EEA
BlueColor Codes
All color formats for development
HEX
#512EEARGB
rgb(81, 46, 234)HSL
hsl(251, 82%, 55%)OKLCH
oklch(0.487 0.257 279.5)CMYK
cmyk(65%, 80%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3D17E6
2#3614CC
3#2F12B3
4#280F99
5#220D80
6#1B0A66
7#14084D
8#0D0533
9#07031A
Tints
Lighter variations
1#6243EC
2#7458EE
3#856DF1
4#9682F3
5#A897F5
6#B9ABF7
7#CBC0F9
8#DCD5FB
9#EEEAFD
Tones
Muted variations
1#5738E1
2#5D41D8
3#634ACE
4#6854C5
5#6E5DBB
6#7467B2
7#7A70A8
8#80799F
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 | A694 #A694F4 | BordersInactive statesPlaceholder text |
| 400 | 775D #775DEF | Disabled statesSecondary iconsMuted text |
| 500 | 512E #512EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 3614 #3614CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B10 #2B10A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F0B #1F0B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1407 #14074A | 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: #A694F4;
--royal-blue-400: #775DEF;
--royal-blue-500: #512EEA;
--royal-blue-600: #3614CC;
--royal-blue-700: #2B10A2;
--royal-blue-800: #1F0B74;
--royal-blue-900: #14074A;
--royal-blue-950: #0C052E;
}