Royal Blue
#2857F0
BlueColor Codes
All color formats for development
HEX
#2857F0RGB
rgb(40, 87, 240)HSL
hsl(226, 87%, 55%)OKLCH
oklch(0.529 0.235 265.4)CMYK
cmyk(83%, 64%, 0%, 6%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#1044EC
2#0F3CD2
3#0D35B8
4#0B2D9D
5#092683
6#071E69
7#05174F
8#040F34
9#02081A
Tints
Lighter variations
1#3E68F2
2#5379F3
3#6989F5
4#7E9AF6
5#94ABF8
6#A9BCF9
7#BFCDFB
8#D4DDFC
9#EAEEFE
Tones
Muted variations
1#325CE6
2#3C62DC
3#4667D2
4#506CC8
5#5A72BE
6#6477B4
7#6E7CAA
8#7882A0
9#828796
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F4 #F1F4FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DEE5 #DEE5FD | Light backgroundsTable row hoverSkeleton loading |
| 200 | C1CE #C1CEFB | Secondary backgroundsInput backgroundsDividers |
| 300 | 91A9 #91A9F7 | BordersInactive statesPlaceholder text |
| 400 | 587C #587CF3 | Disabled statesSecondary iconsMuted text |
| 500 | 2857 #2857F0 | Primary brand colorCTAsActive elementsLinks |
| 600 | 0F3C #0F3CD2 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0C30 #0C30A7 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0822 #082277 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0516 #05164C | Primary textHigh emphasis contentDark headings |
| 950 | 030E #030E30 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F4FE;
--royal-blue-100: #DEE5FD;
--royal-blue-200: #C1CEFB;
--royal-blue-300: #91A9F7;
--royal-blue-400: #587CF3;
--royal-blue-500: #2857F0;
--royal-blue-600: #0F3CD2;
--royal-blue-700: #0C30A7;
--royal-blue-800: #082277;
--royal-blue-900: #05164C;
--royal-blue-950: #030E30;
}