Navy

#240878

Purple

Color Codes

All color formats for development

HEX
#240878
RGB
rgb(36, 8, 120)
HSL
hsl(255, 88%, 25%)
OKLCH
oklch(0.287 0.164 279.7)
CMYK
cmyk(70%, 93%, 0%, 53%)

Accessibility

WCAG contrast compliance

On White Background

15.21:1

AA AAA

On Black Background

1.38:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F1
100
#E5DD
200
#CFC1
300
#AB91
400
#7E57
500
#5A27
600
#3F0D
700
#320B
800
#2408
900
#1705
950
#0E03

Shades

Darker variations

1#20076C
2#1D0660
3#190554
4#150548
5#12043C
6#0E0330
7#0B0224
8#070218
9#04010C

Tints

Lighter variations

1#2E0A9C
2#390CC0
3#440FE4
4#5A27F1
5#754BF4
6#916FF6
7#AC93F8
8#C8B7FA
9#E3DBFD

Tones

Muted variations

1#270D72
2#29136D
3#2C1867
4#2F1E61
5#32245C
6#352956
7#372F51
8#3A354B
9#3D3A45

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F1
#F4F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E5DD
#E5DDFD
Light backgroundsTable row hoverSkeleton loading
200
CFC1
#CFC1FB
Secondary backgroundsInput backgroundsDividers
300
AB91
#AB91F8
BordersInactive statesPlaceholder text
400
7E57
#7E57F4
Disabled statesSecondary iconsMuted text
500
5A27
#5A27F1
Primary brand colorCTAsActive elementsLinks
600
3F0D
#3F0DD3
Hover statesFocus ringsPrimary buttons hover
700
320B
#320BA8
Active/pressed statesDark mode accentsSecondary text
800
2408
#240878
Text on light backgroundsHeadingsStrong borders
900
1705
#17054D
Primary textHigh emphasis contentDark headings
950
0E03
#0E0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --navy-50: #F4F1FE;
  --navy-100: #E5DDFD;
  --navy-200: #CFC1FB;
  --navy-300: #AB91F8;
  --navy-400: #7E57F4;
  --navy-500: #5A27F1;
  --navy-600: #3F0DD3;
  --navy-700: #320BA8;
  --navy-800: #240878;
  --navy-900: #17054D;
  --navy-950: #0E0330;
}
Generate More ShadesCreate PaletteConvert Color