Ninja Color — #020308: Codes, Palettes & Contrast

Ninja (#020308) 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.

Ninja is a named black color, ready to use anywhere you need it.

Ninja#020308

Ninja color codes

HEX#020308
RGBrgb(2, 3, 8)
HSLhsl(230, 60%, 2%)
OKLCHoklch(0.099 0.018 269.9)

Browse more black colors.

Readable text on Ninja

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

Text colorRatioNormal text AANormal text AAA
Black1.02:1FailFail
White20.61: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