Royal Blue
#402DEB
BlueColor Codes
All color formats for development
HEX
#402DEBRGB
rgb(64, 45, 235)HSL
hsl(246, 83%, 55%)OKLCH
oklch(0.476 0.262 274.3)CMYK
cmyk(73%, 81%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2A15E7
2#2613CD
3#2111B4
4#1C0E9A
5#180C80
6#130A67
7#0E074D
8#090533
9#05021A
Tints
Lighter variations
1#5342ED
2#6657EF
3#796CF1
4#8C81F3
5#A096F5
6#B3ABF7
7#C6C0F9
8#D9D5FB
9#ECEAFD
Tones
Muted variations
1#4837E2
2#4F40D8
3#574ACF
4#5F53C5
5#665DBC
6#6E66B2
7#7570A9
8#7D799F
9#858396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F2F1 #F2F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E1DE #E1DEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | C8C2 #C8C2F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | 9D94 #9D94F5 | BordersInactive statesPlaceholder text |
| 400 | 6A5C #6A5CF0 | Disabled statesSecondary iconsMuted text |
| 500 | 402D #402DEB | Primary brand colorCTAsActive elementsLinks |
| 600 | 2613 #2613CD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 1E0F #1E0FA3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 150B #150B75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0E07 #0E074B | Primary textHigh emphasis contentDark headings |
| 950 | 0904 #09042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F2F1FE;
--royal-blue-100: #E1DEFC;
--royal-blue-200: #C8C2F9;
--royal-blue-300: #9D94F5;
--royal-blue-400: #6A5CF0;
--royal-blue-500: #402DEB;
--royal-blue-600: #2613CD;
--royal-blue-700: #1E0FA3;
--royal-blue-800: #150B75;
--royal-blue-900: #0E074B;
--royal-blue-950: #09042F;
}