Royal Blue
#5271FA
BlueColor Codes
All color formats for development
HEX
#5271FARGB
rgb(82, 113, 250)HSL
hsl(229, 94%, 65%)OKLCH
oklch(0.602 0.207 269.6)CMYK
cmyk(67%, 55%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3256F9
2#123CF8
3#072FE1
4#0628C1
5#0522A1
6#041B81
7#031460
8#020D40
9#010720
Tints
Lighter variations
1#637FFA
2#748DFB
3#869BFB
4#97AAFC
5#A8B8FC
6#BAC6FD
7#CBD4FD
8#DCE3FE
9#EEF1FE
Tones
Muted variations
1#5A76F1
2#637BE9
3#6B81E0
4#7386D8
5#7C8BD0
6#8490C7
7#8D96BF
8#959BB7
9#9DA0AE
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F0F3 #F0F3FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DCE3 #DCE3FE | Light backgroundsTable row hoverSkeleton loading |
| 200 | BFCA #BFCAFD | Secondary backgroundsInput backgroundsDividers |
| 300 | 8DA1 #8DA1FB | BordersInactive statesPlaceholder text |
| 400 | 5271 #5271FA | Disabled statesSecondary iconsMuted text |
| 500 | 2048 #2048F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 072D #072DDA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0524 #0524AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 041A #041A7C | Text on light backgroundsHeadingsStrong borders |
| 900 | 0211 #02114F | Primary textHigh emphasis contentDark headings |
| 950 | 020A #020A31 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F0F3FF;
--royal-blue-100: #DCE3FE;
--royal-blue-200: #BFCAFD;
--royal-blue-300: #8DA1FB;
--royal-blue-400: #5271FA;
--royal-blue-500: #2048F8;
--royal-blue-600: #072DDA;
--royal-blue-700: #0524AD;
--royal-blue-800: #041A7C;
--royal-blue-900: #02114F;
--royal-blue-950: #020A31;
}