Cobalt
#1540CB
BlueColor Codes
All color formats for development
HEX
#1540CBRGB
rgb(21, 64, 203)HSL
hsl(226, 81%, 44%)OKLCH
oklch(0.449 0.218 264.7)CMYK
cmyk(90%, 68%, 0%, 20%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#1339B7
2#1133A2
3#0F2D8E
4#0D267A
5#0B2066
6#091951
7#06133D
8#040D29
9#020614
Tints
Lighter variations
1#1848E5
2#305BE9
3#4A70EC
4#6484EF
5#7E99F1
6#98ADF4
7#B1C2F7
8#CBD6FA
9#E5EBFC
Tones
Muted variations
1#1E45C2
2#2749B9
3#314EB0
4#3A53A7
5#43589E
6#4C5D95
7#55628B
8#5E6782
9#676B79
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F1F4 #F1F4FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | DFE5 #DFE5FC | Light backgroundsTable row hoverSkeleton loading |
| 200 | C3D0 #C3D0F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | 95AB #95ABF4 | BordersInactive statesPlaceholder text |
| 400 | 5D7F #5D7FEE | Disabled statesSecondary iconsMuted text |
| 500 | 2F5B #2F5BE9 | Primary brand colorCTAsActive elementsLinks |
| 600 | 1540 #1540CB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 1133 #1133A2 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 0C24 #0C2473 | Text on light backgroundsHeadingsStrong borders |
| 900 | 0817 #08174A | Primary textHigh emphasis contentDark headings |
| 950 | 050E #050E2E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--cobalt-50: #F1F4FE;
--cobalt-100: #DFE5FC;
--cobalt-200: #C3D0F9;
--cobalt-300: #95ABF4;
--cobalt-400: #5D7FEE;
--cobalt-500: #2F5BE9;
--cobalt-600: #1540CB;
--cobalt-700: #1133A2;
--cobalt-800: #0C2473;
--cobalt-900: #08174A;
--cobalt-950: #050E2E;
}