Cobalt
#2B3988
BlueColor Codes
All color formats for development
HEX
#2B3988RGB
rgb(43, 57, 136)HSL
hsl(231, 52%, 35%)OKLCH
oklch(0.382 0.132 271.2)CMYK
cmyk(68%, 58%, 0%, 47%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#27337A
2#222D6D
3#1E285F
4#1A2251
5#151C44
6#111736
7#0D1129
8#090B1B
9#04060E
Tints
Lighter variations
1#3343A1
2#3B4EBA
3#4F61C7
4#6877CF
5#818ED7
6#9AA5DF
7#B3BBE7
8#CDD2EF
9#E6E8F7
Tones
Muted variations
1#2F3C83
2#343F7E
3#39437A
4#3D4675
5#424970
6#474C6C
7#4B5067
8#505363
9#55565E
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F3F5 #F3F5FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E4E7 #E4E7F6 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CDD2 #CDD2EF | Secondary backgroundsInput backgroundsDividers |
| 300 | A6AF #A6AFE3 | BordersInactive statesPlaceholder text |
| 400 | 7785 #7785D4 | Disabled statesSecondary iconsMuted text |
| 500 | 5162 #5162C8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3647 #3647AB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2B39 #2B3988 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1F29 #1F2961 | Text on light backgroundsHeadingsStrong borders |
| 900 | 141A #141A3E | Primary textHigh emphasis contentDark headings |
| 950 | 0C10 #0C1027 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F3F5FB;
--cobalt-100: #E4E7F6;
--cobalt-200: #CDD2EF;
--cobalt-300: #A6AFE3;
--cobalt-400: #7785D4;
--cobalt-500: #5162C8;
--cobalt-600: #3647AB;
--cobalt-700: #2B3988;
--cobalt-800: #1F2961;
--cobalt-900: #141A3E;
--cobalt-950: #0C1027;
}