Royal Blue
#2C42ED
BlueColor Codes
All color formats for development
HEX
#2C42EDRGB
rgb(44, 66, 237)HSL
hsl(233, 84%, 55%)OKLCH
oklch(0.494 0.252 268.2)CMYK
cmyk(81%, 72%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#142DE8
2#1228CE
3#1023B5
4#0D1E9B
5#0B1981
6#091467
7#070F4D
8#040A34
9#02051A
Tints
Lighter variations
1#4155EE
2#5668F0
3#6B7BF2
4#808EF4
5#95A1F6
6#ABB4F8
7#C0C6F9
8#D5D9FB
9#EAECFD
Tones
Muted variations
1#354AE3
2#3F51D9
3#4959D0
4#5260C6
5#5C67BC
6#666FB3
7#6F76A9
8#797DA0
9#838596
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F2 #F1F2FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DEE2 #DEE2FC | Light backgroundsTable row hoverSkeleton loading |
| 200 | C2C9 #C2C9FA | Secondary backgroundsInput backgroundsDividers |
| 300 | 939F #939FF6 | BordersInactive statesPlaceholder text |
| 400 | 5B6C #5B6CF1 | Disabled statesSecondary iconsMuted text |
| 500 | 2C42 #2C42ED | Primary brand colorCTAsActive elementsLinks |
| 600 | 1228 #1228CE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0E20 #0E20A4 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0A17 #0A1775 | Text on light backgroundsHeadingsStrong borders |
| 900 | 070F #070F4B | Primary textHigh emphasis contentDark headings |
| 950 | 0409 #04092F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F2FE;
--royal-blue-100: #DEE2FC;
--royal-blue-200: #C2C9FA;
--royal-blue-300: #939FF6;
--royal-blue-400: #5B6CF1;
--royal-blue-500: #2C42ED;
--royal-blue-600: #1228CE;
--royal-blue-700: #0E20A4;
--royal-blue-800: #0A1775;
--royal-blue-900: #070F4B;
--royal-blue-950: #04092F;
}