Royal Blue
#2742F1
BlueColor Codes
All color formats for development
HEX
#2742F1RGB
rgb(39, 66, 241)HSL
hsl(232, 88%, 55%)OKLCH
oklch(0.496 0.258 267.3)CMYK
cmyk(84%, 73%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#0F2DED
2#0D28D3
3#0C23B9
4#0A1E9E
5#081984
6#071469
7#050F4F
8#030A35
9#02051A
Tints
Lighter variations
1#3D55F3
2#5268F4
3#687BF5
4#7E8EF7
5#93A1F8
6#A9B3F9
7#BEC6FB
8#D4D9FC
9#E9ECFE
Tones
Muted variations
1#314AE7
2#3B51DD
3#4658D3
4#5060C9
5#5A67BF
6#646FB5
7#6E76AB
8#787DA0
9#828596
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F2 #F1F2FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DDE2 #DDE2FD | Light backgroundsTable row hoverSkeleton loading |
| 200 | C1C8 #C1C8FB | Secondary backgroundsInput backgroundsDividers |
| 300 | 919F #919FF8 | BordersInactive statesPlaceholder text |
| 400 | 576C #576CF4 | Disabled statesSecondary iconsMuted text |
| 500 | 2742 #2742F1 | Primary brand colorCTAsActive elementsLinks |
| 600 | 0D28 #0D28D3 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0B20 #0B20A8 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0817 #081778 | Text on light backgroundsHeadingsStrong borders |
| 900 | 050E #050E4D | Primary textHigh emphasis contentDark headings |
| 950 | 0309 #030930 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F1F2FE;
--royal-blue-100: #DDE2FD;
--royal-blue-200: #C1C8FB;
--royal-blue-300: #919FF8;
--royal-blue-400: #576CF4;
--royal-blue-500: #2742F1;
--royal-blue-600: #0D28D3;
--royal-blue-700: #0B20A8;
--royal-blue-800: #081778;
--royal-blue-900: #050E4D;
--royal-blue-950: #030930;
}