Royal Blue
#5A2EEA
BlueColor Codes
All color formats for development
HEX
#5A2EEARGB
rgb(90, 46, 234)HSL
hsl(254, 82%, 55%)OKLCH
oklch(0.495 0.255 282.5)CMYK
cmyk(62%, 80%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4717E6
2#3F14CC
3#3712B3
4#2F0F99
5#270D80
6#200A66
7#18084D
8#100533
9#08031A
Tints
Lighter variations
1#6B43EC
2#7B58EE
3#8C6DF1
4#9C82F3
5#AD97F5
6#BDABF7
7#CEC0F9
8#DED5FB
9#EFEAFD
Tones
Muted variations
1#5F38E1
2#6441D8
3#694ACE
4#6E54C5
5#735DBB
6#7867B2
7#7D70A8
8#82799F
9#878396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5DF #E5DFFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFC3 #CFC3F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | AB94 #AB94F4 | BordersInactive statesPlaceholder text |
| 400 | 7F5D #7F5DEF | Disabled statesSecondary iconsMuted text |
| 500 | 5A2E #5A2EEA | Primary brand colorCTAsActive elementsLinks |
| 600 | 3F14 #3F14CC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3210 #3210A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 240B #240B74 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1707 #17074A | Primary textHigh emphasis contentDark headings |
| 950 | 0E05 #0E052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E5DFFC;
--royal-blue-200: #CFC3F9;
--royal-blue-300: #AB94F4;
--royal-blue-400: #7F5DEF;
--royal-blue-500: #5A2EEA;
--royal-blue-600: #3F14CC;
--royal-blue-700: #3210A2;
--royal-blue-800: #240B74;
--royal-blue-900: #17074A;
--royal-blue-950: #0E052E;
}