Cobalt
#4040A0
BlueColor Codes
All color formats for development
HEX
#4040A0RGB
rgb(64, 64, 160)HSL
hsl(240, 43%, 44%)OKLCH
oklch(0.43 0.152 277.9)CMYK
cmyk(60%, 60%, 0%, 37%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#3A3A90
2#333380
3#2D2D70
4#262660
5#202050
6#1A1A40
7#131330
8#0D0D20
9#060610
Tints
Lighter variations
1#4848B5
2#5C5CBE
3#7070C6
4#8484CE
5#9999D6
6#ADADDE
7#C2C2E7
8#D6D6EF
9#EBEBF7
Tones
Muted variations
1#45459C
2#4A4A97
3#4E4E92
4#53538D
5#585888
6#5D5D83
7#62627F
8#67677A
9#6B6B75
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F4 #F4F4FB | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5E5 #E5E5F5 | Light backgroundsTable row hoverSkeleton loading |
| 200 | D0D0 #D0D0EC | Secondary backgroundsInput backgroundsDividers |
| 300 | ABAB #ABABDE | BordersInactive statesPlaceholder text |
| 400 | 7F7F #7F7FCC | Disabled statesSecondary iconsMuted text |
| 500 | 5B5B #5B5BBE | Primary brand colorCTAsActive elementsLinks |
| 600 | 4040 #4040A0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3333 #333380 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2424 #24245B | Text on light backgroundsHeadingsStrong borders |
| 900 | 1717 #17173A | Primary textHigh emphasis contentDark headings |
| 950 | 0F0F #0F0F24 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F4F4FB;
--cobalt-100: #E5E5F5;
--cobalt-200: #D0D0EC;
--cobalt-300: #ABABDE;
--cobalt-400: #7F7FCC;
--cobalt-500: #5B5BBE;
--cobalt-600: #4040A0;
--cobalt-700: #333380;
--cobalt-800: #24245B;
--cobalt-900: #17173A;
--cobalt-950: #0F0F24;
}