Deep Blue Color — #040273: Codes, Palettes & Contrast

Deep Blue (#040273) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Deep Blue is a named blue color, ready to use anywhere you need it.

Deep Blue#040273

Deep Blue color codes

HEX#040273
RGBrgb(4, 2, 115)
HSLhsl(241, 97%, 23%)
OKLCHoklch(0.255 0.171 265.6)

Browse more blue colors.

Readable text on Deep Blue

White text (#FFFFFF) has the higher contrast against this background: 16.65:1.

Text colorRatioNormal text AANormal text AAA
Black1.26:1FailFail
White16.65:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale