Night Blue Color — #040348: Codes, Palettes & Contrast

Night Blue (#040348) 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.

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

Night Blue#040348

Night Blue color codes

HEX#040348
RGBrgb(4, 3, 72)
HSLhsl(241, 92%, 15%)
OKLCHoklch(0.191 0.120 267.8)

Browse more blue colors.

Readable text on Night Blue

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

Text colorRatioNormal text AANormal text AAA
Black1.11:1FailFail
White18.89: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