Royal Blue

#5A7BF2

Blue

Color Codes

All color formats for development

HEX
#5A7BF2
RGB
rgb(90, 123, 242)
HSL
hsl(227, 85%, 65%)
OKLCH
oklch(0.62 0.182 268.9)
CMYK
cmyk(63%, 49%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

3.78:1

AA AAA

On Black Background

5.55:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F1F4
100
#DEE5
200
#C2CE
300
#92A8
400
#5A7B
500
#2B55
600
#113A
700
#0D2E
800
#0A21
900
#0615
950
#040D

Shades

Darker variations

1#3B62EF
2#1D4AED
3#113CD7
4#0F34B8
5#0C2B99
6#0A227B
7#071A5C
8#05113D
9#02091F

Tints

Lighter variations

1#6A88F3
2#7B95F4
3#8BA2F6
4#9CB0F7
5#ACBDF8
6#BDCAFA
7#CDD7FB
8#DEE5FC
9#EEF2FE

Tones

Muted variations

1#617FEA
2#6983E2
3#7188DB
4#788CD3
5#8090CC
6#8795C4
7#8F99BD
8#979DB5
9#9EA1AD

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F1F4
#F1F4FE
BackgroundsSubtle highlightsCard backgrounds
100
DEE5
#DEE5FC
Light backgroundsTable row hoverSkeleton loading
200
C2CE
#C2CEFA
Secondary backgroundsInput backgroundsDividers
300
92A8
#92A8F6
BordersInactive statesPlaceholder text
400
5A7B
#5A7BF2
Disabled statesSecondary iconsMuted text
500
2B55
#2B55EE
Primary brand colorCTAsActive elementsLinks
600
113A
#113AD0
Hover statesFocus ringsPrimary buttons hover
700
0D2E
#0D2EA5
Active/pressed statesDark mode accentsSecondary text
800
0A21
#0A2176
Text on light backgroundsHeadingsStrong borders
900
0615
#06154B
Primary textHigh emphasis contentDark headings
950
040D
#040D2F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F1F4FE;
  --royal-blue-100: #DEE5FC;
  --royal-blue-200: #C2CEFA;
  --royal-blue-300: #92A8F6;
  --royal-blue-400: #5A7BF2;
  --royal-blue-500: #2B55EE;
  --royal-blue-600: #113AD0;
  --royal-blue-700: #0D2EA5;
  --royal-blue-800: #0A2176;
  --royal-blue-900: #06154B;
  --royal-blue-950: #040D2F;
}
Generate More ShadesCreate PaletteConvert Color