Royal Blue
#2839F0
BlueColor Codes
All color formats for development
HEX
#2839F0RGB
rgb(40, 57, 240)HSL
hsl(235, 87%, 55%)OKLCH
oklch(0.483 0.264 268)CMYK
cmyk(83%, 76%, 0%, 6%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#1023EC
2#0F1FD2
3#0D1BB8
4#0B179D
5#091383
6#070F69
7#050C4F
8#040834
9#02041A
Tints
Lighter variations
1#3E4DF2
2#5361F3
3#6974F5
4#7E88F6
5#949CF8
6#A9B0F9
7#BFC4FB
8#D4D7FC
9#EAEBFE
Tones
Muted variations
1#3241E6
2#3C4ADC
3#4652D2
4#505AC8
5#5A63BE
6#646BB4
7#6E73AA
8#787CA0
9#828496
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F2 #F1F2FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DEE0 #DEE0FD | Light backgroundsTable row hoverSkeleton loading |
| 200 | C1C6 #C1C6FB | Secondary backgroundsInput backgroundsDividers |
| 300 | 919A #919AF7 | BordersInactive statesPlaceholder text |
| 400 | 5865 #5865F3 | Disabled statesSecondary iconsMuted text |
| 500 | 2839 #2839F0 | Primary brand colorCTAsActive elementsLinks |
| 600 | 0F1F #0F1FD2 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0C19 #0C19A7 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0812 #081277 | Text on light backgroundsHeadingsStrong borders |
| 900 | 050B #050B4C | Primary textHigh emphasis contentDark headings |
| 950 | 0307 #030730 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F2FE;
--royal-blue-100: #DEE0FD;
--royal-blue-200: #C1C6FB;
--royal-blue-300: #919AF7;
--royal-blue-400: #5865F3;
--royal-blue-500: #2839F0;
--royal-blue-600: #0F1FD2;
--royal-blue-700: #0C19A7;
--royal-blue-800: #081277;
--royal-blue-900: #050B4C;
--royal-blue-950: #030730;
}