gettoolz.app

Midnight Blue color: #191970

The CSS keyword midnightblue is #191970, rgb(25, 25, 112) or hsl(240, 64%, 27%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordmidnightblue
HEX#191970
RGBrgb(25, 25, 112)
HSLhsl(240, 64%, 27%)
OKLCHoklch(28.8% 0.1436 272.76)

About Midnight Blue

Midnight Blue is a very dark blue. Its hue sits at 273° in OKLCH and 240° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword midnightblue comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.

Midnight Blue tint scale, 50 to 950

50#f2f5ff
100#e4eaff
200#cad6ff
300#a8baff
400#859af6
500#6a7edc
600#5263bc
700#3c499a
800#283178
900#171d59
950#0d1041

Eleven steps at fixed perceived lightness, in OKLCH, holding midnightblue’s own hue from end to end. The keyword itself falls closest to step 900 (#171d59), the one outlined; step 500 is #6a7edc.

Harmonies built on Midnight Blue

Hue angles measured in OKLCH, so every accent keeps midnightblue’s perceived lightness. Its complement is #352a00, closest to the named color darkslategray.

Complementary

#191970
#352a00

Analogous

#191970
#3a0663
#002e4a

Triadic

#191970
#540a00
#003518

Split-complementary

#191970
#412200
#253000

Midnight Blue on white and on black

midnightblue on white14.84:1 · AAA
midnightblue on black1.41:1 · Fail

White text reads better on midnightblue (14.84:1). As a text color it is readable on a white page (14.84:1, AAA). AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Midnight Blue

Open midnightblue in the full tools

Or browse every named color from the color converter.