Royal Blue
#5F51FB
BlueColor Codes
All color formats for development
HEX
#5F51FBRGB
rgb(95, 81, 251)HSL
hsl(245, 96%, 65%)OKLCH
oklch(0.557 0.242 278.8)CMYK
cmyk(62%, 68%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4130FB
2#230FFA
3#1705E3
4#1404C3
5#1103A2
6#0D0382
7#0A0261
8#070141
9#030120
Tints
Lighter variations
1#6E62FC
2#7E73FC
3#8F85FD
4#9F96FD
5#AFA8FD
6#BFB9FE
7#CFCBFE
8#DFDCFE
9#EFEEFF
Tones
Muted variations
1#6559F3
2#6D61EA
3#746AE2
4#7B72D9
5#827BD1
6#8983C8
7#908CBF
8#9795B7
9#9F9DAE
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F0 #F1F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DFDC #DFDCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | C3BE #C3BEFE | Secondary backgroundsInput backgroundsDividers |
| 300 | 958C #958CFD | BordersInactive statesPlaceholder text |
| 400 | 5E50 #5E50FB | Disabled statesSecondary iconsMuted text |
| 500 | 301E #301EFA | Primary brand colorCTAsActive elementsLinks |
| 600 | 1604 #1604DC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 1204 #1204AF | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0D03 #0D037D | Text on light backgroundsHeadingsStrong borders |
| 900 | 0802 #080250 | Primary textHigh emphasis contentDark headings |
| 950 | 0501 #050132 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F0FF;
--royal-blue-100: #DFDCFE;
--royal-blue-200: #C3BEFE;
--royal-blue-300: #958CFD;
--royal-blue-400: #5E50FB;
--royal-blue-500: #301EFA;
--royal-blue-600: #1604DC;
--royal-blue-700: #1204AF;
--royal-blue-800: #0D037D;
--royal-blue-900: #080250;
--royal-blue-950: #050132;
}