Cobalt
#2A3889
BlueColor Codes
All color formats for development
HEX
#2A3889RGB
rgb(42, 56, 137)HSL
hsl(231, 53%, 35%)OKLCH
oklch(0.38 0.135 271.1)CMYK
cmyk(69%, 59%, 0%, 46%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#26337B
2#222D6D
3#1D2760
4#192252
5#151C44
6#111637
7#0D1129
8#080B1B
9#04060E
Tints
Lighter variations
1#3243A2
2#3A4DBB
3#4D60C8
4#6777D0
5#808DD8
6#9AA4E0
7#B3BBE8
8#CCD2EF
9#E6E8F7
Tones
Muted variations
1#2F3B84
2#333F7F
3#38427A
4#3D4576
5#424971
6#464C6C
7#4B4F67
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 #E4E7F7 | Light backgroundsTable row hoverSkeleton loading |
| 200 | CCD2 #CCD2EF | Secondary backgroundsInput backgroundsDividers |
| 300 | A5AF #A5AFE3 | BordersInactive statesPlaceholder text |
| 400 | 7685 #7685D5 | Disabled statesSecondary iconsMuted text |
| 500 | 4F62 #4F62C9 | Primary brand colorCTAsActive elementsLinks |
| 600 | 3547 #3547AC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 2A38 #2A3889 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 1E28 #1E2862 | Text on light backgroundsHeadingsStrong borders |
| 900 | 131A #131A3E | 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: #E4E7F7;
--cobalt-200: #CCD2EF;
--cobalt-300: #A5AFE3;
--cobalt-400: #7685D5;
--cobalt-500: #4F62C9;
--cobalt-600: #3547AC;
--cobalt-700: #2A3889;
--cobalt-800: #1E2862;
--cobalt-900: #131A3E;
--cobalt-950: #0C1027;
}