Royal Blue
#5254C7
BlueColor Codes
All color formats for development
HEX
#5254C7RGB
rgb(82, 84, 199)HSL
hsl(239, 51%, 55%)OKLCH
oklch(0.51 0.175 277.5)CMYK
cmyk(59%, 58%, 0%, 22%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3E40BF
2#3739A9
3#303294
4#292B7F
5#22246A
6#1B1C55
7#151540
8#0E0E2A
9#070715
Tints
Lighter variations
1#6365CC
2#7476D2
3#8687D8
4#9798DD
5#A8A9E3
6#BABAE9
7#CBCCEE
8#DCDDF4
9#EEEEF9
Tones
Muted variations
1#5859C1
2#5D5FBB
3#6365B5
4#696AAF
5#6F70AA
6#7576A4
7#7B7B9E
8#818198
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 | A6A7 #A6A7E2 | BordersInactive statesPlaceholder text |
| 400 | 787A #787AD3 | Disabled statesSecondary iconsMuted text |
| 500 | 5254 #5254C7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3739 #3739A9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2C2D #2C2D87 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F20 #1F2060 | 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: #A6A7E2;
--royal-blue-400: #787AD3;
--royal-blue-500: #5254C7;
--royal-blue-600: #3739A9;
--royal-blue-700: #2C2D87;
--royal-blue-800: #1F2060;
--royal-blue-900: #14153E;
--royal-blue-950: #0C0D27;
}