Royal Blue
#1A40FF
BlueColor Codes
All color formats for development
HEX
#1A40FFRGB
rgb(26, 64, 255)HSL
hsl(230, 100%, 55%)OKLCH
oklch(0.505 0.278 265.6)CMYK
cmyk(90%, 75%, 0%, 0%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#002AFC
2#0025E0
3#0021C4
4#001CA8
5#00178C
6#001370
7#000E54
8#000938
9#00051C
Tints
Lighter variations
1#3053FF
2#4766FF
3#5E79FF
4#758CFF
5#8C9FFF
6#A3B3FF
7#BAC6FF
8#D1D9FF
9#E8ECFF
Tones
Muted variations
1#2547F4
2#304FE8
3#3C57DD
4#475ED1
5#5366C6
6#5E6EBA
7#6A75AF
8#757DA3
9#818598
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F0F2 #F0F2FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DBE1 #DBE1FF | Light backgroundsTable row hoverSkeleton loading |
| 200 | BDC8 #BDC8FF | Secondary backgroundsInput backgroundsDividers |
| 300 | 8A9D #8A9DFF | BordersInactive statesPlaceholder text |
| 400 | 4D6A #4D6AFF | Disabled statesSecondary iconsMuted text |
| 500 | 1A40 #1A40FF | Primary brand colorCTAsActive elementsLinks |
| 600 | 0025 #0025E0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 001E #001EB3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0015 #001580 | Text on light backgroundsHeadingsStrong borders |
| 900 | 000E #000E52 | Primary textHigh emphasis contentDark headings |
| 950 | 0008 #000833 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F0F2FF;
--royal-blue-100: #DBE1FF;
--royal-blue-200: #BDC8FF;
--royal-blue-300: #8A9DFF;
--royal-blue-400: #4D6AFF;
--royal-blue-500: #1A40FF;
--royal-blue-600: #0025E0;
--royal-blue-700: #001EB3;
--royal-blue-800: #001580;
--royal-blue-900: #000E52;
--royal-blue-950: #000833;
}