Cobalt
#28308A
BlueColor Codes
All color formats for development
HEX
#28308ARGB
rgb(40, 48, 138)HSL
hsl(235, 55%, 35%)OKLCH
oklch(0.364 0.148 272.7)CMYK
cmyk(71%, 65%, 0%, 46%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#242C7D
2#20276F
3#1C2261
4#181D53
5#141845
6#101337
7#0C0F2A
8#080A1C
9#04050E
Tints
Lighter variations
1#3039A4
2#3742BE
3#4B56CB
4#656ED2
5#7F86DA
6#989EE1
7#B2B6E9
8#CCCFF0
9#E5E7F8
Tones
Muted variations
1#2D3485
2#323981
3#373D7C
4#3C4177
5#414572
6#46496D
7#4B4D68
8#4F5163
9#54555E
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F4 #F3F4FC | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E3E5 #E3E5F7 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CCCF #CCCFF0 | Secondary backgroundsInput backgroundsDividers |
| 300 | A4A9 #A4A9E5 | BordersInactive statesPlaceholder text |
| 400 | 757D #757DD7 | Disabled statesSecondary iconsMuted text |
| 500 | 4D58 #4D58CB | Primary brand colorCTAsActive elementsLinks |
| 600 | 323D #323DAE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2830 #28308A | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1D23 #1D2363 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1216 #12163F | Primary textHigh emphasis contentDark headings |
| 950 | 0B0E #0B0E28 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F3F4FC;
--cobalt-100: #E3E5F7;
--cobalt-200: #CCCFF0;
--cobalt-300: #A4A9E5;
--cobalt-400: #757DD7;
--cobalt-500: #4D58CB;
--cobalt-600: #323DAE;
--cobalt-700: #28308A;
--cobalt-800: #1D2363;
--cobalt-900: #12163F;
--cobalt-950: #0B0E28;
}