Cobalt
#254A8D
BlueColor Codes
All color formats for development
HEX
#254A8DRGB
rgb(37, 74, 141)HSL
hsl(219, 58%, 35%)OKLCH
oklch(0.42 0.119 261.2)CMYK
cmyk(74%, 48%, 0%, 45%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#22427F
2#1E3B71
3#1A3463
4#162C55
5#132547
6#0F1D38
7#0B162A
8#070F1C
9#04070E
Tints
Lighter variations
1#2C57A7
2#3365C1
3#4877CE
4#628AD5
5#7C9EDC
6#96B1E3
7#B0C5EA
8#CBD8F1
9#E5ECF8
Tones
Muted variations
1#2B4B88
2#304D83
3#354E7D
4#3A5078
5#3F5173
6#45536E
7#4A5569
8#4F5664
9#54585E
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F6 #F3F6FC | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E3EA #E3EAF8 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CBD8 #CBD8F1 | Secondary backgroundsInput backgroundsDividers |
| 300 | A2BA #A2BAE6 | BordersInactive statesPlaceholder text |
| 400 | 7296 #7296DA | Disabled statesSecondary iconsMuted text |
| 500 | 4A78 #4A78CF | Primary brand colorCTAsActive elementsLinks |
| 600 | 2F5D #2F5DB1 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 254A #254A8D | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1B35 #1B3565 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1122 #112240 | Primary textHigh emphasis contentDark headings |
| 950 | 0B15 #0B1528 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F3F6FC;
--cobalt-100: #E3EAF8;
--cobalt-200: #CBD8F1;
--cobalt-300: #A2BAE6;
--cobalt-400: #7296DA;
--cobalt-500: #4A78CF;
--cobalt-600: #2F5DB1;
--cobalt-700: #254A8D;
--cobalt-800: #1B3565;
--cobalt-900: #112240;
--cobalt-950: #0B1528;
}