Accessible navy color palette
A safe, serious choice that passes easily.
Your brand colour
Try an example
What your colour can do
#1e3a8a
Sits at step 800 of your scale
- ✓ PassWhite text on your colour: 10.36:1. Fine for buttons and banners.
- ✕ FailBlack text on your colour: 2.03:1. Dark text is too faint here.
Your colour scale
Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.
50
#f3f7ff
Black 19.56
100
#e4edff
Black 17.86
200
#cadbff
Black 15.09
300
#a8c3ff
Black 11.92
400
#7ea4ff
Black 8.64
500
#5a85f1
Black 6.06
600
#4169d2
White 5.03
700
#2f52b2
White 7.07
800 (your colour)
#1e3a8a
White 10.36
900
#142a69
White 13.42
950
#071542
White 17.57
See the contrast numbers for every step
| Step | Colour | On white | On dark (#111111) |
|---|---|---|---|
| 50 | #f3f7ff | 1.07:1 ✕ | 17.59:1 ✓ AA |
| 100 | #e4edff | 1.18:1 ✕ | 16.06:1 ✓ AA |
| 200 | #cadbff | 1.39:1 ✕ | 13.57:1 ✓ AA |
| 300 | #a8c3ff | 1.76:1 ✕ | 10.71:1 ✓ AA |
| 400 | #7ea4ff | 2.43:1 ✕ | 7.77:1 ✓ AA |
| 500 | #5a85f1 | 3.47:1 large text only | 5.45:1 ✓ AA |
| 600 | #4169d2 | 5.03:1 ✓ AA | 3.76:1 large text only |
| 700 | #2f52b2 | 7.07:1 ✓ AA | 2.67:1 ✕ |
| 800 (yours) | #1e3a8a | 10.36:1 ✓ AA | 1.82:1 ✕ |
| 900 | #142a69 | 13.42:1 ✓ AA | 1.41:1 ✕ |
| 950 | #071542 | 17.57:1 ✓ AA | 1.07:1 ✕ |
Safe pairs to use
Picked from your scale so each one passes WCAG, with the ratio shown.
- Book now
Button with white text
The lightest step that still gives white text 4.5:1.
White on 6005.03:1 ✓ Pass
- Read the details
Links and text on white
Coloured text on a white page needs 4.5:1 too.
600 on white5.03:1 ✓ Pass
- Read the details
Links on a dark background
For dark mode or dark sections. The darkest step that still reads on near-black.
500 on dark5.45:1 ✓ Pass
- Input with a border
Borders, icons and focus rings
Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).
500 on white3.47:1 ✓ Pass
- Callout text
Text on a light tint
Callouts and badges: a very light background with a dark step for the text.
950 on 5016.37:1 ✓ Pass
Take it with you
:root {
--navy-50: #f3f7ff;
--navy-100: #e4edff;
--navy-200: #cadbff;
--navy-300: #a8c3ff;
--navy-400: #7ea4ff;
--navy-500: #5a85f1;
--navy-600: #4169d2;
--navy-700: #2f52b2;
--navy-800: #1e3a8a;
--navy-900: #142a69;
--navy-950: #071542;
}
The short answer
Navy (#1e3a8a) works with white text. The ratio is 10.36:1, above the 4.5:1 that WCAG AA asks for, so you can use it as a button or banner colour with white lettering.
Navy shades and their contrast
| Step | Colour | On white | On dark |
|---|---|---|---|
| 50 | #f3f7ff | 1.07:1 ✕ | 17.59:1 ✓ AA |
| 100 | #e4edff | 1.18:1 ✕ | 16.06:1 ✓ AA |
| 200 | #cadbff | 1.39:1 ✕ | 13.57:1 ✓ AA |
| 300 | #a8c3ff | 1.76:1 ✕ | 10.71:1 ✓ AA |
| 400 | #7ea4ff | 2.43:1 ✕ | 7.77:1 ✓ AA |
| 500 | #5a85f1 | 3.47:1 large only | 5.45:1 ✓ AA |
| 600 | #4169d2 | 5.03:1 ✓ AA | 3.76:1 large only |
| 700 | #2f52b2 | 7.07:1 ✓ AA | 2.67:1 ✕ |
| 800 (yours) | #1e3a8a | 10.36:1 ✓ AA | 1.82:1 ✕ |
| 900 | #142a69 | 13.42:1 ✓ AA | 1.41:1 ✕ |
| 950 | #071542 | 17.57:1 ✓ AA | 1.07:1 ✕ |
Questions about navy
Does navy work with white text?
Yes. Navy (#1e3a8a) has a contrast ratio of 10.36:1 with white, which meets the 4.5:1 WCAG AA asks for.
Does black text work on navy?
No. Black on #1e3a8a is 2.03:1, which is below 4.5:1. Use a lighter or darker shade instead.
Which shade of navy should I use for links on a white page?
Use a step that reaches 4.5:1 on white. For navy that is step 600 (#4169d2), at 5.03:1.
Other colours
Is your live site using these colours well?
A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.