Royal Blue

#254EF4

Blue

Color Codes

All color formats for development

HEX
#254EF4
RGB
rgb(37, 78, 244)
HSL
hsl(228, 90%, 55%)
OKLCH
oklch(0.517 0.25 266)
CMYK
cmyk(85%, 68%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

6.04:1

AA AAA

On Black Background

3.47:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F0F3
100
#DDE4
200
#C0CC
300
#90A5
400
#5576
500
#254E
600
#0B34
700
#0929
800
#061D
900
#0413
950
#030C

Shades

Darker variations

1#0D3AF0
2#0B34D5
3#0A2DBB
4#0827A0
5#072085
6#061A6B
7#041350
8#030D35
9#01061B

Tints

Lighter variations

1#3B60F5
2#5172F6
3#6683F7
4#7C95F8
5#92A7F9
6#A8B8FA
7#BECAFC
8#D3DCFD
9#E9EDFE

Tones

Muted variations

1#2F54E9
2#3A5BDF
3#4461D5
4#4E67CA
5#596DC0
6#6373B6
7#6D7AAB
8#7880A1
9#828697

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F0F3
#F0F3FE
BackgroundsSubtle highlightsCard backgrounds
100
DDE4
#DDE4FD
Light backgroundsTable row hoverSkeleton loading
200
C0CC
#C0CCFC
Secondary backgroundsInput backgroundsDividers
300
90A5
#90A5F9
BordersInactive statesPlaceholder text
400
5576
#5576F6
Disabled statesSecondary iconsMuted text
500
254E
#254EF4
Primary brand colorCTAsActive elementsLinks
600
0B34
#0B34D5
Hover statesFocus ringsPrimary buttons hover
700
0929
#0929AA
Active/pressed statesDark mode accentsSecondary text
800
061D
#061D79
Text on light backgroundsHeadingsStrong borders
900
0413
#04134E
Primary textHigh emphasis contentDark headings
950
030C
#030C30
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F0F3FE;
  --royal-blue-100: #DDE4FD;
  --royal-blue-200: #C0CCFC;
  --royal-blue-300: #90A5F9;
  --royal-blue-400: #5576F6;
  --royal-blue-500: #254EF4;
  --royal-blue-600: #0B34D5;
  --royal-blue-700: #0929AA;
  --royal-blue-800: #061D79;
  --royal-blue-900: #04134E;
  --royal-blue-950: #030C30;
}
Generate More ShadesCreate PaletteConvert Color