Royal Blue
#304CE8
BlueColor Codes
All color formats for development
HEX
#304CE8RGB
rgb(48, 76, 232)HSL
hsl(231, 80%, 55%)OKLCH
oklch(0.506 0.235 268)CMYK
cmyk(79%, 67%, 0%, 9%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#1938E3
2#1631CA
3#142BB1
4#112597
5#0E1F7E
6#0B1965
7#08134C
8#060C32
9#030619
Tints
Lighter variations
1#455EEA
2#5A70ED
3#6E82EF
4#8394F1
5#98A5F4
6#ACB7F6
7#C1C9F8
8#D6DBFA
9#EAEDFD
Tones
Muted variations
1#3A52DF
2#4359D6
3#4C5FCD
4#5566C3
5#5E6CBA
6#6873B1
7#7179A8
8#7A7F9F
9#838695
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F3 #F1F3FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DFE3 #DFE3FB | Light backgroundsTable row hoverSkeleton loading |
| 200 | C3CB #C3CBF8 | Secondary backgroundsInput backgroundsDividers |
| 300 | 95A4 #95A4F3 | BordersInactive statesPlaceholder text |
| 400 | 5E74 #5E74ED | Disabled statesSecondary iconsMuted text |
| 500 | 304C #304CE8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 1631 #1631CA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 1227 #1227A1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0D1C #0D1C73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0812 #081249 | Primary textHigh emphasis contentDark headings |
| 950 | 050B #050B2E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F3FD;
--royal-blue-100: #DFE3FB;
--royal-blue-200: #C3CBF8;
--royal-blue-300: #95A4F3;
--royal-blue-400: #5E74ED;
--royal-blue-500: #304CE8;
--royal-blue-600: #1631CA;
--royal-blue-700: #1227A1;
--royal-blue-800: #0D1C73;
--royal-blue-900: #081249;
--royal-blue-950: #050B2E;
}