Royal Blue
#4227F1
BlueColor Codes
All color formats for development
HEX
#4227F1RGB
rgb(66, 39, 241)HSL
hsl(248, 88%, 55%)OKLCH
oklch(0.478 0.272 274.7)CMYK
cmyk(73%, 84%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2D0FED
2#280DD3
3#230CB9
4#1E0A9E
5#190884
6#140769
7#0F054F
8#0A0335
9#05021A
Tints
Lighter variations
1#553DF3
2#6852F4
3#7B68F5
4#8E7EF7
5#A193F8
6#B3A9F9
7#C6BEFB
8#D9D4FC
9#ECE9FE
Tones
Muted variations
1#4A31E7
2#513BDD
3#5846D3
4#6050C9
5#675ABF
6#6F64B5
7#766EAB
8#7D78A0
9#858296
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F2F1 #F2F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E2DD #E2DDFD | Light backgroundsTable row hoverSkeleton loading |
| 200 | C8C1 #C8C1FB | Secondary backgroundsInput backgroundsDividers |
| 300 | 9F91 #9F91F8 | BordersInactive statesPlaceholder text |
| 400 | 6C57 #6C57F4 | Disabled statesSecondary iconsMuted text |
| 500 | 4227 #4227F1 | Primary brand colorCTAsActive elementsLinks |
| 600 | 280D #280DD3 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 200B #200BA8 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1708 #170878 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0E05 #0E054D | Primary textHigh emphasis contentDark headings |
| 950 | 0903 #090330 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F2F1FE;
--royal-blue-100: #E2DDFD;
--royal-blue-200: #C8C1FB;
--royal-blue-300: #9F91F8;
--royal-blue-400: #6C57F4;
--royal-blue-500: #4227F1;
--royal-blue-600: #280DD3;
--royal-blue-700: #200BA8;
--royal-blue-800: #170878;
--royal-blue-900: #0E054D;
--royal-blue-950: #090330;
}