Cobalt

#284F8A

Blue

Color Codes

All color formats for development

HEX
#284F8A
RGB
rgb(40, 79, 138)
HSL
hsl(216, 55%, 35%)
OKLCH
oklch(0.431 0.108 258.5)
CMYK
cmyk(71%, 43%, 0%, 46%)

Accessibility

WCAG contrast compliance

On White Background

8.15:1

AA AAA

On Black Background

2.58:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F3F7
100
#E3EB
200
#CCDA
300
#A4BE
400
#759C
500
#4D80
600
#3264
700
#284F
800
#1D39
900
#1224
950
#0B17

Shades

Darker variations

1#24477D
2#20406F
3#1C3861
4#183053
5#142845
6#102037
7#0C182A
8#08101C
9#04080E

Tints

Lighter variations

1#305EA4
2#376DBE
3#4B7ECB
4#6591D2
5#7FA3DA
6#98B5E1
7#B2C8E9
8#CCDAF0
9#E5EDF8

Tones

Muted variations

1#2D5085
2#325181
3#37527C
4#3C5377
5#415472
6#46556D
7#4B5668
8#4F5763
9#54585E

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F3F7
#F3F7FC
BackgroundsSubtle highlightsCard backgrounds
100
E3EB
#E3EBF7
Light backgroundsTable row hoverSkeleton loading
200
CCDA
#CCDAF0
Secondary backgroundsInput backgroundsDividers
300
A4BE
#A4BEE5
BordersInactive statesPlaceholder text
400
759C
#759CD7
Disabled statesSecondary iconsMuted text
500
4D80
#4D80CB
Primary brand colorCTAsActive elementsLinks
600
3264
#3264AE
Hover statesFocus ringsPrimary buttons hover
700
284F
#284F8A
Active/pressed statesDark mode accentsSecondary text
800
1D39
#1D3963
Text on light backgroundsHeadingsStrong borders
900
1224
#12243F
Primary textHigh emphasis contentDark headings
950
0B17
#0B1728
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --cobalt-50: #F3F7FC;
  --cobalt-100: #E3EBF7;
  --cobalt-200: #CCDAF0;
  --cobalt-300: #A4BEE5;
  --cobalt-400: #759CD7;
  --cobalt-500: #4D80CB;
  --cobalt-600: #3264AE;
  --cobalt-700: #284F8A;
  --cobalt-800: #1D3963;
  --cobalt-900: #12243F;
  --cobalt-950: #0B1728;
}
Generate More ShadesCreate PaletteConvert Color