Navy

#040F4D

Blue

Color Codes

All color formats for development

HEX
#040F4D
RGB
rgb(4, 15, 77)
HSL
hsl(231, 90%, 16%)
OKLCH
oklch(0.218 0.113 266.1)
CMYK
cmyk(95%, 81%, 0%, 70%)

Accessibility

WCAG contrast compliance

On White Background

17.79:1

AA AAA

On Black Background

1.18:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F3
100
#DDE2
200
#C0C9
300
#909F
400
#556E
500
#2544
600
#0B2A
700
#0921
800
#0618
900
#040F
950
#0309

Shades

Darker variations

1#040E46
2#030C3E
3#030B36
4#02092F
5#020827
6#02061F
7#010517
8#010310
9#000208

Tints

Lighter variations

1#061776
2#081F9F
3#0B27C8
4#0D2FF0
5#3450F4
6#5C73F6
7#8596F9
8#AEB9FB
9#D6DCFD

Tones

Muted variations

1#08124A
2#0B1446
3#0F1743
4#13193F
5#161C3B
6#1A1F37
7#1E2134
8#212430
9#25262C

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F3
#F0F3FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE2
#DDE2FD
Light backgroundsTable row hoverSkeleton loading
200
C0C9
#C0C9FC
Secondary backgroundsInput backgroundsDividers
300
909F
#909FF9
BordersInactive statesPlaceholder text
400
556E
#556EF6
Disabled statesSecondary iconsMuted text
500
2544
#2544F4
Primary brand colorCTAsActive elementsLinks
600
0B2A
#0B2AD5
Hover statesFocus ringsPrimary buttons hover
700
0921
#0921AA
Active/pressed statesDark mode accentsSecondary text
800
0618
#061879
Text on light backgroundsHeadingsStrong borders
900
040F
#040F4E
Primary textHigh emphasis contentDark headings
950
0309
#030930
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --navy-50: #F0F3FE;
  --navy-100: #DDE2FD;
  --navy-200: #C0C9FC;
  --navy-300: #909FF9;
  --navy-400: #556EF6;
  --navy-500: #2544F4;
  --navy-600: #0B2AD5;
  --navy-700: #0921AA;
  --navy-800: #061879;
  --navy-900: #040F4E;
  --navy-950: #030930;
}
Generate More ShadesCreate PaletteConvert Color