Royal Blue
#312EEA
BlueColor Codes
All color formats for development
HEX
#312EEARGB
rgb(49, 46, 234)HSL
hsl(241, 82%, 55%)OKLCH
oklch(0.468 0.264 270.5)CMYK
cmyk(79%, 80%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#1A17E6
2#1714CC
3#1412B3
4#110F99
5#0F0D80
6#0C0A66
7#09084D
8#060533
9#03031A
Tints
Lighter variations
1#4643EC
2#5A58EE
3#6F6DF1
4#8482F3
5#9897F5
6#ADABF7
7#C1C0F9
8#D6D5FB
9#EAEAFD
Tones
Muted variations
1#3A38E1
2#4341D8
3#4D4ACE
4#5654C5
5#5F5DBB
6#6867B2
7#7170A8
8#7A799F
9#838396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F1 #F1F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DFDF #DFDFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | C4C3 #C4C3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | 9694 #9694F4 | BordersInactive statesPlaceholder text |
| 400 | 5F5D #5F5DEF | Disabled statesSecondary iconsMuted text |
| 500 | 312E #312EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 1714 #1714CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 1310 #1310A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0D0B #0D0B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0807 #08074A | Primary textHigh emphasis contentDark headings |
| 950 | 0505 #05052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F1FE;
--royal-blue-100: #DFDFFC;
--royal-blue-200: #C4C3F9;
--royal-blue-300: #9694F4;
--royal-blue-400: #5F5DEF;
--royal-blue-500: #312EEA;
--royal-blue-600: #1714CC;
--royal-blue-700: #1310A2;
--royal-blue-800: #0D0B74;
--royal-blue-900: #08074A;
--royal-blue-950: #05052E;
}