Royal Blue
#542EEA
BlueColor Codes
All color formats for development
HEX
#542EEARGB
rgb(84, 46, 234)HSL
hsl(252, 82%, 55%)OKLCH
oklch(0.49 0.256 280.5)CMYK
cmyk(64%, 80%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4017E6
2#3914CC
3#3212B3
4#2B0F99
5#240D80
6#1C0A66
7#15084D
8#0E0533
9#07031A
Tints
Lighter variations
1#6543EC
2#7658EE
3#876DF1
4#9882F3
5#A997F5
6#BBABF7
7#CCC0F9
8#DDD5FB
9#EEEAFD
Tones
Muted variations
1#5938E1
2#5F41D8
3#654ACE
4#6A54C5
5#705DBB
6#7667B2
7#7B70A8
8#81799F
9#878396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4DF #E4DFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | CEC3 #CEC3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | A794 #A794F4 | BordersInactive statesPlaceholder text |
| 400 | 7A5D #7A5DEF | Disabled statesSecondary iconsMuted text |
| 500 | 542E #542EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 3914 #3914CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2D10 #2D10A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 200B #200B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1507 #15074A | Primary textHigh emphasis contentDark headings |
| 950 | 0D05 #0D052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E4DFFC;
--royal-blue-200: #CEC3F9;
--royal-blue-300: #A794F4;
--royal-blue-400: #7A5DEF;
--royal-blue-500: #542EEA;
--royal-blue-600: #3914CC;
--royal-blue-700: #2D10A2;
--royal-blue-800: #200B74;
--royal-blue-900: #15074A;
--royal-blue-950: #0D052E;
}