
Royal Blue: a royal blue website color palette
Royal blue is saturated and confident, the most action-like of the blues. Give it the buttons and links on a crisp white page, and let a warm yellow highlight sparingly.
#F6F8FD
Background
#FFFFFF
Surface
#0D1430
Text
#2341C8
Accent
#F2B705
Highlight
The palette as a real page
Make the first impression the one they remember.
The Royal Blue palette set as a real page: #0D1430 text on #F6F8FD, every action in #2341C8.
Designed first
Surface #FFFFFF keeps cards distinct from the page.
Built in minutes
Surface #FFFFFF keeps cards distinct from the page.
Live in one click
Surface #FFFFFF keeps cards distinct from the page.
Contrast
- AaBody text on the page#0D1430 on #F6F8FD17.0:1AAA
- AaBody text on cards#0D1430 on #FFFFFF18.1:1AAA
- AaAccent links and icons on the page#2341C8 on #F6F8FD7.4:1AAA
- AaHighlight on the page#F2B705 on #F6F8FD · large text1.7:1Below AA
- AaPage color on an accent button#F6F8FD on #2341C8 · large text7.4:1AAA
AA needs 4.5:1 for body text and 3:1 for large text; AAA needs 7:1. Check any pair in the contrast checker.
Copy the palette
:root {
--color-background: #F6F8FD;
--color-surface: #FFFFFF;
--color-text: #0D1430;
--color-accent: #2341C8;
--color-highlight: #F2B705;
}Every color and what it is for
| Role | HEX | RGB | HSL | Use it for | Share |
|---|---|---|---|---|---|
| AaBackground | #F6F8FD | rgb(246, 248, 253) | hsl(223, 64%, 98%) | The page itself, behind everything. Text on it reads best in black. | About 60% |
| AaSurface | #FFFFFF | rgb(255, 255, 255) | hsl(0, 0%, 100%) | Cards, panels, the header and form fields, set apart from the page. Text on it reads best in black. | About 20 to 30% |
| AaText | #0D1430 | rgb(13, 20, 48) | hsl(228, 57%, 12%) | Headings and body copy: every word meant to be read. Text on it reads best in white. | All reading text |
| AaAccent | #2341C8 | rgb(35, 65, 200) | hsl(229, 70%, 46%) | Buttons, links and active states only, so the next action is always obvious. Text on it reads best in white. | About 10% |
| AaHighlight | #F2B705 | rgb(242, 183, 5) | hsl(45, 96%, 48%) | Small moments: badges, success states, a key number or tag. Text on it reads best in black. | A few percent |
The accent, from 50 to 900
Five colors cover the page; a real site also needs lighter and darker steps of the accent for hover states, tinted backgrounds, borders and focus rings. These are mixed from #2341C8 toward white and black, with 500 as the accent itself.
- 50
#F4F6FC - 100
#DEE3F7 - 200
#B2BDEC - 300
#8697E1 - 400
#536BD4 - 500
#2341C8 - 600
#1E37AA - 700
#182C88 - 800
#122164 - 900
#0C1644
@theme {
--color-accent-50: #F4F6FC;
--color-accent-100: #DEE3F7;
--color-accent-200: #B2BDEC;
--color-accent-300: #8697E1;
--color-accent-400: #536BD4;
--color-accent-500: #2341C8;
--color-accent-600: #1E37AA;
--color-accent-700: #182C88;
--color-accent-800: #122164;
--color-accent-900: #0C1644;
}More website color palettes
Questions, answered.
The things people ask before they start building.
What colors are best for a royal blue website?
Royal blue is saturated and confident, the most action-like of the blues. Give it the buttons and links on a crisp white page, and let a warm yellow highlight sparingly. The Royal Blue palette uses #F6F8FD for the page, #0D1430 for text, #2341C8 for actions and #F2B705 as a highlight.
Is the Royal Blue palette accessible?
Body text scores 17.0:1 against the background, which passes WCAG AAA. Every pairing a site uses is scored on this page.
What are the hex codes for the Royal Blue palette?
Background #F6F8FD, Surface #FFFFFF, Text #0D1430, Accent #2341C8, Highlight #F2B705. Every color is listed on this page in HEX, RGB and HSL, with CSS and Tailwind variables to copy.
How should I use these colors on a royal blue website?
Use #F6F8FD for about 60% of the page, #FFFFFF for cards and panels, #0D1430 for all reading text, and keep #2341C8 for buttons and links only, about 10% of the page, so actions stand out. Save #F2B705 for small details such as badges and success states.
Can an AI website builder pick a color palette for me?
Yes. Orlume (orlume.site) decides the palette, typography and layout for your brief in its design pass, before any code is written, then builds the site in React and Next.js and deploys it in one click.

Or let Orlume pick the colors for you.
Describe the site you want. Watch it get designed, not just generated. Then publish it to its own orlume.site address.
- Free to start
- No card required
- Publish to a live URL
- You own the code
