Dark blue #00008B
Dark blue is one of the named colours in CSS, written darkblue. White text reaches 15.30:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | darkblue |
|---|---|
| HEX | #00008B |
| RGB | rgb(0 0 139) |
| HSL | hsl(240 100% 27%) |
| OKLCH | oklch(28.8% 0.199 264.1) |
| White text | 15.30:1 · body text AA Pass |
| Black text | 1.37:1 · body text AA Fail |
Colours that go with Dark blue
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Deep Lyons Blue (#1C4286), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Dark blue itself.
| Colour | HEX | Contrast with Dark blue | Body text AA |
|---|---|---|---|
| Yellow | #FFF200 | 13.08:1 | Pass |
| Apricot Yellow | #FFDD00 | 11.36:1 | Pass |
| Ivory Buff | #EBD3A2 | 10.47:1 | Pass |
| Cinnamon Buff | #FDC57E | 9.81:1 | Pass |
| Cameo Pink | #E0B3B6 | 8.23:1 | Pass |
| Yellow Ocher | #E2B540 | 7.95:1 | Pass |
| Golden Yellow | #F3A257 | 7.37:1 | Pass |
| Eosine Pink | #F37F94 | 6.03:1 | Pass |
| Khaki | #BC892B | 4.92:1 | Pass |
| Benzol Green | #00978D | 4.23:1 | Fail |
| Raw Sienna | #BB7125 | 4.01:1 | Fail |
| Aconite Violet | #A36AA5 | 3.76:1 | Fail |
| Red Orange | #DD4027 | 3.52:1 | Fail |
| Light Brownish Olive | #806E4B | 3.10:1 | Fail |
| Ochre Red | #AB544D | 2.99:1 | Fail |
| Diamine Green | #1A7444 | 2.64:1 | Fail |
| Purple Drab | #84565B | 2.52:1 | Fail |
| Hay's Russet | #793327 | 1.69:1 | Fail |
| Black | #111314 | 1.22:1 | Fail |
| Dusky Madder Violet | #4E1D4C | 1.17:1 | Fail |
Palettes with Deep Lyons Blue
- Combination #22 Yellow · Deep Lyons Blue
- Combination #38 Diamine Green · Deep Lyons Blue
- Combination #101 Cameo Pink · Deep Lyons Blue
- Combination #126 Ivory Buff · Yellow Ocher · Deep Lyons Blue
- Combination #179 Red Orange · Golden Yellow · Deep Lyons Blue
- Combination #199 Ochre Red · Light Brownish Olive · Deep Lyons Blue
- Combination #236 Khaki · Deep Lyons Blue · Purple Drab
- Combination #247 Raw Sienna · Apricot Yellow · Benzol Green · Deep Lyons Blue
- Combination #314 Eosine Pink · Hay's Russet · Deep Lyons Blue · Dusky Madder Violet
- Combination #344 Cinnamon Buff · Deep Lyons Blue · Aconite Violet · Black
Shades and tints of Dark blue
Nine lightness steps in OKLCH that keep the hue of Dark blue. Chroma is reduced only where sRGB cannot show it.
- 100#F0F5FF
- 200#D8E5FF
- 300#B5CEFF
- 400#89B0FF
- 500#588CFF
- 600#3266E4
- 700#1746C1
- 800#0122A0
- 900#001066
:root {
--darkblue-100: #F0F5FF;
--darkblue-200: #D8E5FF;
--darkblue-300: #B5CEFF;
--darkblue-400: #89B0FF;
--darkblue-500: #588CFF;
--darkblue-600: #3266E4;
--darkblue-700: #1746C1;
--darkblue-800: #0122A0;
--darkblue-900: #001066;
}
Text that keeps Dark blue on screen
Text #00008B on #F0F5FF reaches 13.99:1, which passes WCAG AA for body text. Check it on a dashboard