Black

#040F2F

Blue

Color Codes

All color formats for development

HEX
#040F2F
RGB
rgb(4, 15, 47)
HSL
hsl(225, 84%, 10%)
OKLCH
oklch(0.182 0.067 264.4)
CMYK
cmyk(91%, 68%, 0%, 82%)

Accessibility

WCAG contrast compliance

On White Background

18.84:1

AA AAA

On Black Background

1.11:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F4
100
#DEE6
200
#C2D0
300
#93AC
400
#5B80
500
#2C5C
600
#1241
700
#0E34
800
#0A25
900
#0718
950
#040F

Shades

Darker variations

1#040D2A
2#030C26
3#030A21
4#02091C
5#020717
6#020613
7#01040E
8#010309
9#000105

Tints

Lighter variations

1#081C59
2#0B2983
3#0F37AE
4#1344D8
5#2C5CED
6#567DF0
7#809DF4
8#ABBEF8
9#D5DEFB

Tones

Muted variations

1#06102D
2#08112B
3#0B1228
4#0D1326
5#0F1424
6#111522
7#131620
8#15171E
9#17181C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FE
BackgroundsSubtle highlightsCard backgrounds
100
DEE6
#DEE6FC
Light backgroundsTable row hoverSkeleton loading
200
C2D0
#C2D0FA
Secondary backgroundsInput backgroundsDividers
300
93AC
#93ACF6
BordersInactive statesPlaceholder text
400
5B80
#5B80F1
Disabled statesSecondary iconsMuted text
500
2C5C
#2C5CED
Primary brand colorCTAsActive elementsLinks
600
1241
#1241CE
Hover statesFocus ringsPrimary buttons hover
700
0E34
#0E34A4
Active/pressed statesDark mode accentsSecondary text
800
0A25
#0A2575
Text on light backgroundsHeadingsStrong borders
900
0718
#07184B
Primary textHigh emphasis contentDark headings
950
040F
#040F2F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F1F4FE;
  --black-100: #DEE6FC;
  --black-200: #C2D0FA;
  --black-300: #93ACF6;
  --black-400: #5B80F1;
  --black-500: #2C5CED;
  --black-600: #1241CE;
  --black-700: #0E34A4;
  --black-800: #0A2575;
  --black-900: #07184B;
  --black-950: #040F2F;
}
Generate More ShadesCreate PaletteConvert Color