Cobalt
#0242B1
BlueColor Codes
All color formats for development
HEX
#0242B1RGB
rgb(2, 66, 177)HSL
hsl(218, 98%, 35%)OKLCH
oklch(0.424 0.186 261.4)CMYK
cmyk(99%, 63%, 0%, 31%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#023B9F
2#01358D
3#012E7C
4#01286A
5#012158
6#011A47
7#011435
8#000D23
9#000712
Tints
Lighter variations
1#024ED2
2#025AF2
3#196DFD
4#3A82FD
5#5B96FD
6#7CABFE
7#9DC0FE
8#BDD5FE
9#DEEAFF
Tones
Muted variations
1#0B44A8
2#13479F
3#1C4996
4#254B8E
5#2E4E85
6#36507C
7#3F5273
8#48556B
9#515762
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F0F5 #F0F5FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DCE8 #DCE8FF | Light backgroundsTable row hoverSkeleton loading |
| 200 | BDD5 #BDD5FE | Secondary backgroundsInput backgroundsDividers |
| 300 | 8BB5 #8BB5FE | BordersInactive statesPlaceholder text |
| 400 | 4E8E #4E8EFD | Disabled statesSecondary iconsMuted text |
| 500 | 1C6E #1C6EFD | Primary brand colorCTAsActive elementsLinks |
| 600 | 0253 #0253DE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0242 #0242B1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 012F #012F7E | Text on light backgroundsHeadingsStrong borders |
| 900 | 011E #011E51 | Primary textHigh emphasis contentDark headings |
| 950 | 0113 #011332 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F0F5FF;
--cobalt-100: #DCE8FF;
--cobalt-200: #BDD5FE;
--cobalt-300: #8BB5FE;
--cobalt-400: #4E8EFD;
--cobalt-500: #1C6EFD;
--cobalt-600: #0253DE;
--cobalt-700: #0242B1;
--cobalt-800: #012F7E;
--cobalt-900: #011E51;
--cobalt-950: #011332;
}