Royal Blue

#5728F0

Blue

Color Codes

All color formats for development

HEX
#5728F0
RGB
rgb(87, 40, 240)
HSL
hsl(254, 87%, 55%)
OKLCH
oklch(0.493 0.266 281.2)
CMYK
cmyk(64%, 83%, 0%, 6%)

Accessibility

WCAG contrast compliance

On White Background

7.08:1

AA AAA

On Black Background

2.97:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F1
100
#E5DE
200
#CEC1
300
#A991
400
#7C58
500
#5728
600
#3C0F
700
#300C
800
#2208
900
#1605
950
#0E03

Shades

Darker variations

1#4410EC
2#3C0FD2
3#350DB8
4#2D0B9D
5#260983
6#1E0769
7#17054F
8#0F0434
9#08021A

Tints

Lighter variations

1#683EF2
2#7953F3
3#8969F5
4#9A7EF6
5#AB94F8
6#BCA9F9
7#CDBFFB
8#DDD4FC
9#EEEAFE

Tones

Muted variations

1#5C32E6
2#623CDC
3#6746D2
4#6C50C8
5#725ABE
6#7764B4
7#7C6EAA
8#8278A0
9#878296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F1
#F4F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E5DE
#E5DEFD
Light backgroundsTable row hoverSkeleton loading
200
CEC1
#CEC1FB
Secondary backgroundsInput backgroundsDividers
300
A991
#A991F7
BordersInactive statesPlaceholder text
400
7C58
#7C58F3
Disabled statesSecondary iconsMuted text
500
5728
#5728F0
Primary brand colorCTAsActive elementsLinks
600
3C0F
#3C0FD2
Hover statesFocus ringsPrimary buttons hover
700
300C
#300CA7
Active/pressed statesDark mode accentsSecondary text
800
2208
#220877
Text on light backgroundsHeadingsStrong borders
900
1605
#16054C
Primary textHigh emphasis contentDark headings
950
0E03
#0E0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F1FE;
  --royal-blue-100: #E5DEFD;
  --royal-blue-200: #CEC1FB;
  --royal-blue-300: #A991F7;
  --royal-blue-400: #7C58F3;
  --royal-blue-500: #5728F0;
  --royal-blue-600: #3C0FD2;
  --royal-blue-700: #300CA7;
  --royal-blue-800: #220877;
  --royal-blue-900: #16054C;
  --royal-blue-950: #0E0330;
}
Generate More ShadesCreate PaletteConvert Color