Royal Blue
#5162C8
BlueColor Codes
All color formats for development
HEX
#5162C8RGB
rgb(81, 98, 200)HSL
hsl(231, 52%, 55%)OKLCH
oklch(0.537 0.158 272.8)CMYK
cmyk(60%, 51%, 0%, 22%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3D50C0
2#3647AB
3#2F3E95
4#283680
5#222D6B
6#1B2455
7#141B40
8#0D122B
9#070915
Tints
Lighter variations
1#6272CD
2#7382D3
3#8591D8
4#96A1DE
5#A8B1E3
6#B9C0E9
7#CBD0EE
8#DCE0F4
9#EEEFF9
Tones
Muted variations
1#5767C2
2#5D6BBC
3#626FB6
4#6873B0
5#6E77AA
6#747CA4
7#7A809E
8#808498
9#868892
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F5 #F3F5FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E7 #E4E7F6 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDD2 #CDD2EF | Secondary backgroundsInput backgroundsDividers |
| 300 | A6AF #A6AFE3 | BordersInactive statesPlaceholder text |
| 400 | 7785 #7785D4 | Disabled statesSecondary iconsMuted text |
| 500 | 5162 #5162C8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3647 #3647AB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B39 #2B3988 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F29 #1F2961 | Text on light backgroundsHeadingsStrong borders |
| 900 | 141A #141A3E | Primary textHigh emphasis contentDark headings |
| 950 | 0C10 #0C1027 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F5FB;
--royal-blue-100: #E4E7F6;
--royal-blue-200: #CDD2EF;
--royal-blue-300: #A6AFE3;
--royal-blue-400: #7785D4;
--royal-blue-500: #5162C8;
--royal-blue-600: #3647AB;
--royal-blue-700: #2B3988;
--royal-blue-800: #1F2961;
--royal-blue-900: #141A3E;
--royal-blue-950: #0C1027;
}