Royal Blue
#5157C8
BlueColor Codes
All color formats for development
HEX
#5157C8RGB
rgb(81, 87, 200)HSL
hsl(237, 52%, 55%)OKLCH
oklch(0.516 0.173 276.2)CMYK
cmyk(60%, 56%, 0%, 22%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3D43C0
2#363CAB
3#2F3495
4#282D80
5#22256B
6#1B1E55
7#141640
8#0D0F2B
9#070715
Tints
Lighter variations
1#6267CD
2#7378D3
3#8589D8
4#969ADE
5#A8ABE3
6#B9BCE9
7#CBCCEE
8#DCDDF4
9#EEEEF9
Tones
Muted variations
1#575CC2
2#5D61BC
3#6267B6
4#686CB0
5#6E71AA
6#7477A4
7#7A7C9E
8#808298
9#868792
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F4 #F3F4FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E5 #E4E5F6 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDCE #CDCEEF | Secondary backgroundsInput backgroundsDividers |
| 300 | A6A9 #A6A9E3 | BordersInactive statesPlaceholder text |
| 400 | 777C #777CD4 | Disabled statesSecondary iconsMuted text |
| 500 | 5157 #5157C8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 363C #363CAB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B2F #2B2F88 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F22 #1F2261 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1416 #14163E | Primary textHigh emphasis contentDark headings |
| 950 | 0C0E #0C0E27 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F4FB;
--royal-blue-100: #E4E5F6;
--royal-blue-200: #CDCEEF;
--royal-blue-300: #A6A9E3;
--royal-blue-400: #777CD4;
--royal-blue-500: #5157C8;
--royal-blue-600: #363CAB;
--royal-blue-700: #2B2F88;
--royal-blue-800: #1F2261;
--royal-blue-900: #14163E;
--royal-blue-950: #0C0E27;
}