Royal Blue
#5235E3
BlueColor Codes
All color formats for development
HEX
#5235E3RGB
rgb(82, 53, 227)HSL
hsl(250, 76%, 55%)OKLCH
oklch(0.489 0.243 280)CMYK
cmyk(64%, 77%, 0%, 11%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3E1EDE
2#371BC5
3#3018AD
4#2A1494
5#23117B
6#1C0D63
7#150A4A
8#0E0731
9#070319
Tints
Lighter variations
1#6349E6
2#755DE9
3#8672EC
4#9786EE
5#A99AF1
6#BAAEF4
7#CBC2F7
8#DCD7F9
9#EEEBFC
Tones
Muted variations
1#583EDB
2#5E46D2
3#644FC9
4#6958C1
5#6F61B8
6#7569AF
7#7B72A6
8#817B9E
9#868495
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F2 #F3F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E0 #E4E0FB | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDC5 #CDC5F7 | Secondary backgroundsInput backgroundsDividers |
| 300 | A798 #A798F1 | BordersInactive statesPlaceholder text |
| 400 | 7962 #7962EA | Disabled statesSecondary iconsMuted text |
| 500 | 5235 #5235E3 | Primary brand colorCTAsActive elementsLinks |
| 600 | 371B #371BC5 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2C15 #2C159D | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F0F #1F0F70 | Text on light backgroundsHeadingsStrong borders |
| 900 | 140A #140A48 | Primary textHigh emphasis contentDark headings |
| 950 | 0D06 #0D062D | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F3F2FD;
--royal-blue-100: #E4E0FB;
--royal-blue-200: #CDC5F7;
--royal-blue-300: #A798F1;
--royal-blue-400: #7962EA;
--royal-blue-500: #5235E3;
--royal-blue-600: #371BC5;
--royal-blue-700: #2C159D;
--royal-blue-800: #1F0F70;
--royal-blue-900: #140A48;
--royal-blue-950: #0D062D;
}