Royal Blue
#5A7DF2
BlueColor Codes
All color formats for development
HEX
#5A7DF2RGB
rgb(90, 125, 242)HSL
hsl(226, 85%, 65%)OKLCH
oklch(0.623 0.179 268.3)CMYK
cmyk(63%, 48%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3B65EF
2#1D4DED
3#113FD7
4#0F36B8
5#0C2D99
6#0A247B
7#071B5C
8#05123D
9#02091F
Tints
Lighter variations
1#6A8AF3
2#7B97F4
3#8BA4F6
4#9CB1F7
5#ACBEF8
6#BDCBFA
7#CDD8FB
8#DEE5FC
9#EEF2FE
Tones
Muted variations
1#6181EA
2#6985E2
3#7189DB
4#788DD3
5#8092CC
6#8796C4
7#8F9ABD
8#979EB5
9#9EA2AD
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F4 #F1F4FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DEE5 #DEE5FC | Light backgroundsTable row hoverSkeleton loading |
| 200 | C2CF #C2CFFA | Secondary backgroundsInput backgroundsDividers |
| 300 | 92AA #92AAF6 | BordersInactive statesPlaceholder text |
| 400 | 5A7D #5A7DF2 | Disabled statesSecondary iconsMuted text |
| 500 | 2B58 #2B58EE | Primary brand colorCTAsActive elementsLinks |
| 600 | 113D #113DD0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0D31 #0D31A5 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0A23 #0A2376 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0616 #06164B | Primary textHigh emphasis contentDark headings |
| 950 | 040E #040E2F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F4FE;
--royal-blue-100: #DEE5FC;
--royal-blue-200: #C2CFFA;
--royal-blue-300: #92AAF6;
--royal-blue-400: #5A7DF2;
--royal-blue-500: #2B58EE;
--royal-blue-600: #113DD0;
--royal-blue-700: #0D31A5;
--royal-blue-800: #0A2376;
--royal-blue-900: #06164B;
--royal-blue-950: #040E2F;
}