Royal Blue
#5155C8
BlueColor Codes
All color formats for development
HEX
#5155C8RGB
rgb(81, 85, 200)HSL
hsl(238, 52%, 55%)OKLCH
oklch(0.512 0.175 276.8)CMYK
cmyk(60%, 58%, 0%, 22%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3D41C0
2#363AAB
3#2F3395
4#282B80
5#22246B
6#1B1D55
7#141640
8#0D0E2B
9#070715
Tints
Lighter variations
1#6266CD
2#7377D3
3#8588D8
4#9699DE
5#A8AAE3
6#B9BBE9
7#CBCCEE
8#DCDDF4
9#EEEEF9
Tones
Muted variations
1#575AC2
2#5D60BC
3#6265B6
4#686BB0
5#6E70AA
6#7476A4
7#7A7C9E
8#808198
9#868792
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F4 #F3F4FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E4 #E4E4F6 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDCE #CDCEEF | Secondary backgroundsInput backgroundsDividers |
| 300 | A6A8 #A6A8E3 | BordersInactive statesPlaceholder text |
| 400 | 777A #777AD4 | Disabled statesSecondary iconsMuted text |
| 500 | 5155 #5155C8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 363A #363AAB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B2E #2B2E88 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F21 #1F2161 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1415 #14153E | Primary textHigh emphasis contentDark headings |
| 950 | 0C0D #0C0D27 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F4FB;
--royal-blue-100: #E4E4F6;
--royal-blue-200: #CDCEEF;
--royal-blue-300: #A6A8E3;
--royal-blue-400: #777AD4;
--royal-blue-500: #5155C8;
--royal-blue-600: #363AAB;
--royal-blue-700: #2B2E88;
--royal-blue-800: #1F2161;
--royal-blue-900: #14153E;
--royal-blue-950: #0C0D27;
}