Royal Blue

#5A5FF2

Blue

Color Codes

All color formats for development

HEX
#5A5FF2
RGB
rgb(90, 95, 242)
HSL
hsl(238, 85%, 65%)
OKLCH
oklch(0.568 0.216 275.6)
CMYK
cmyk(63%, 61%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

4.82:1

AA AAA

On Black Background

4.35:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F1
100
#DEDF
200
#C2C4
300
#9296
400
#5A5F
500
#2B31
600
#1117
700
#0D12
800
#0A0D
900
#0608
950
#0405

Shades

Darker variations

1#3B41EF
2#1D23ED
3#1118D7
4#0F15B8
5#0C1199
6#0A0E7B
7#070A5C
8#05073D
9#02031F

Tints

Lighter variations

1#6A6FF3
2#7B7FF4
3#8B8FF6
4#9C9FF7
5#ACAFF8
6#BDBFFA
7#CDCFFB
8#DEDFFC
9#EEEFFE

Tones

Muted variations

1#6166EA
2#696DE2
3#7174DB
4#787BD3
5#8082CC
6#8789C4
7#8F91BD
8#9798B5
9#9E9FAD

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F1
#F1F1FE
BackgroundsSubtle highlightsCard backgrounds
100
DEDF
#DEDFFC
Light backgroundsTable row hoverSkeleton loading
200
C2C4
#C2C4FA
Secondary backgroundsInput backgroundsDividers
300
9296
#9296F6
BordersInactive statesPlaceholder text
400
5A5F
#5A5FF2
Disabled statesSecondary iconsMuted text
500
2B31
#2B31EE
Primary brand colorCTAsActive elementsLinks
600
1117
#1117D0
Hover statesFocus ringsPrimary buttons hover
700
0D12
#0D12A5
Active/pressed statesDark mode accentsSecondary text
800
0A0D
#0A0D76
Text on light backgroundsHeadingsStrong borders
900
0608
#06084B
Primary textHigh emphasis contentDark headings
950
0405
#04052F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F1FE;
  --royal-blue-100: #DEDFFC;
  --royal-blue-200: #C2C4FA;
  --royal-blue-300: #9296F6;
  --royal-blue-400: #5A5FF2;
  --royal-blue-500: #2B31EE;
  --royal-blue-600: #1117D0;
  --royal-blue-700: #0D12A5;
  --royal-blue-800: #0A0D76;
  --royal-blue-900: #06084B;
  --royal-blue-950: #04052F;
}
Generate More ShadesCreate PaletteConvert Color