Cobalt
#0228B1
BlueColor Codes
All color formats for development
HEX
#0228B1RGB
rgb(2, 40, 177)HSL
hsl(227, 98%, 35%)OKLCH
oklch(0.379 0.214 264.1)CMYK
cmyk(99%, 77%, 0%, 31%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#02249F
2#01208D
3#011C7C
4#01186A
5#011458
6#011047
7#010C35
8#000823
9#000412
Tints
Lighter variations
1#022FD2
2#0236F2
3#194BFD
4#3A64FD
5#5B7EFD
6#7C98FE
7#9DB2FE
8#BDCBFE
9#DEE5FF
Tones
Muted variations
1#0B2DA8
2#13329F
3#1C3796
4#253C8E
5#2E4085
6#36457C
7#3F4A73
8#484F6B
9#515462
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F0F3 #F0F3FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DCE3 #DCE3FF | Light backgroundsTable row hoverSkeleton loading |
| 200 | BDCB #BDCBFE | Secondary backgroundsInput backgroundsDividers |
| 300 | 8BA4 #8BA4FE | BordersInactive statesPlaceholder text |
| 400 | 4E74 #4E74FD | Disabled statesSecondary iconsMuted text |
| 500 | 1C4D #1C4DFD | Primary brand colorCTAsActive elementsLinks |
| 600 | 0232 #0232DE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 0228 #0228B1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 011C #011C7E | Text on light backgroundsHeadingsStrong borders |
| 900 | 0112 #011251 | Primary textHigh emphasis contentDark headings |
| 950 | 010B #010B32 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F0F3FF;
--cobalt-100: #DCE3FF;
--cobalt-200: #BDCBFE;
--cobalt-300: #8BA4FE;
--cobalt-400: #4E74FD;
--cobalt-500: #1C4DFD;
--cobalt-600: #0232DE;
--cobalt-700: #0228B1;
--cobalt-800: #011C7E;
--cobalt-900: #011251;
--cobalt-950: #010B32;
}