Named color

Midnight Blue

Midnight Blue is a dark and jewel tone blue color with HEX #191970. According to Colors Encyclopedia, it has RGB 25, 25, 112, HSL 240, 64%, 27%, cool temperature, and is useful for luxury branding, night themes, and editorial design.

HEX #191970
RGB rgb(25, 25, 112)
HSL hsl(240 64% 27%)
CMYK cmyk(78, 78, 0, 56)
Luminance 0.0207
Contrast Black 1.41:1White 14.85:1

CSS Utilities

--color-midnight-blue: #191970;
.bg-midnight-blue { background-color: #191970; }
.text-midnight-blue { color: #191970; }

Machine-readable data

Machine-Readable Color Data (JSON)

Perfect for CSS, design systems, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.0207
Black text1.41:1AA Fail
White text14.85:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{
  "hex": "#191970",
  "rgb": [
    25,
    25,
    112
  ],
  "hsl": [
    240,
    64,
    27
  ],
  "cmyk": [
    78,
    78,
    0,
    56
  ],
  "luminance": 0.0207,
  "contrast": {
    "black": 1.41,
    "white": 14.85
  }
}
WCAG
{
  "AA": [
    "#FFFFFF",
    "#F5F5F5"
  ],
  "AAA": [
    "#FFFFFF",
    "#F5F5F5"
  ]
}
Harmonies
{
  "complementary": "#717119",
  "analogous": [
    "#194571",
    "#451971"
  ],
  "triadic": [
    "#711919",
    "#197119"
  ],
  "tetradic": [
    "#711945",
    "#717119",
    "#197145"
  ],
  "splitComplementary": [
    "#714519",
    "#457119"
  ],
  "monochromatic": [
    "#2929BC",
    "#191970",
    "#080826"
  ]
}
Variants
{
  "light": "#2929BC",
  "dark": "#080826",
  "saturated": "#0A0A80",
  "desaturated": "#282862",
  "pastel": "#4949C1",
  "neon": "#0000B3"
}
Pairings
{
  "best": [
    "#FFFFFF",
    "#717119",
    "#194571",
    "#451971"
  ],
  "avoid": [
    "#282862",
    "#2929BC"
  ],
  "neutral": [
    "#1A1A1A",
    "#F5F5F5",
    "#E8E8E4"
  ],
  "highContrast": [
    "#FFFFFF"
  ],
  "lowContrast": [
    "#2929BC",
    "#282862"
  ]
}
Knowledge graph
{
  "nearestColors": [
    "sapphire-deep",
    "ultramarine",
    "navy",
    "navy-blue",
    "dark-blue"
  ],
  "generatedPalettes": [
    "midnight-blue"
  ],
  "generatedComparisons": [
    "midnight-blue-vs-sapphire-deep",
    "midnight-blue-vs-ultramarine",
    "navy-blue-vs-midnight-blue"
  ],
  "relatedFamilies": [
    "/colors/by-family/blue",
    "/colors/by-temperature/cool",
    "/colors/by-tone/dark",
    "/colors/by-tone/jewel-tone"
  ],
  "relatedTools": [
    "/harmonies/midnight-blue",
    "/wcag/midnight-blue",
    "/css/colors/midnight-blue",
    "/hex/191970"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/blue",
      "/colors/by-temperature/cool",
      "/colors/by-tone/dark",
      "/colors/by-tone/jewel-tone"
    ],
    "narrower": [
      "/palettes/midnight-blue"
    ],
    "related": [
      "/colors/sapphire-deep",
      "/colors/ultramarine",
      "/colors/navy",
      "/colors/navy-blue",
      "/colors/dark-blue",
      "/compare/midnight-blue-vs-sapphire-deep",
      "/compare/midnight-blue-vs-ultramarine",
      "/compare/navy-blue-vs-midnight-blue",
      "/harmonies/midnight-blue",
      "/wcag/midnight-blue",
      "/css/colors/midnight-blue",
      "/hex/191970"
    ]
  }
}
Full JSON dataset
{
  "slug": "midnight-blue",
  "name": "Midnight Blue",
  "hex": "#191970",
  "family": "blue",
  "temperature": "cool",
  "tone": [
    "dark",
    "jewel-tone"
  ],
  "uses": [
    "luxury branding",
    "night themes",
    "editorial design"
  ],
  "psychology": {
    "associations": [
      "depth",
      "focus",
      "mystery"
    ],
    "contexts": [
      "premium interfaces",
      "evening event design"
    ],
    "avoidIn": [
      "lightweight wellness palettes"
    ]
  },
  "aliases": [],
  "sourceType": "standard",
  "confidence": "high",
  "sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
  "reviewStatus": "auto",
  "editorialNotes": "Generated from CSS named color data and computed color-system properties.",
  "origin": {
    "type": "css",
    "notes": "Standard CSS named color."
  },
  "tags": [
    "blue",
    "cool",
    "dark",
    "jewel-tone",
    "luxury-branding",
    "night-themes",
    "editorial-design",
    "depth",
    "focus",
    "mystery"
  ],
  "popularity": 69,
  "rgb": [
    25,
    25,
    112
  ],
  "hsl": [
    240,
    64,
    27
  ],
  "cmyk": [
    78,
    78,
    0,
    56
  ],
  "luminance": 0.0207,
  "contrast": {
    "black": 1.41,
    "white": 14.85
  },
  "harmonies": {
    "complementary": "#717119",
    "analogous": [
      "#194571",
      "#451971"
    ],
    "triadic": [
      "#711919",
      "#197119"
    ],
    "tetradic": [
      "#711945",
      "#717119",
      "#197145"
    ],
    "splitComplementary": [
      "#714519",
      "#457119"
    ],
    "monochromatic": [
      "#2929BC",
      "#191970",
      "#080826"
    ]
  },
  "variants": {
    "light": "#2929BC",
    "dark": "#080826",
    "saturated": "#0A0A80",
    "desaturated": "#282862",
    "pastel": "#4949C1",
    "neon": "#0000B3"
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  "css": {
    "variable": "--color-midnight-blue: #191970;",
    "utility": ".bg-midnight-blue { background-color: #191970; }",
    "textUtility": ".text-midnight-blue { color: #191970; }"
  },
  "nearestColors": [
    "sapphire-deep",
    "ultramarine",
    "navy",
    "navy-blue",
    "dark-blue"
  ],
  "generatedPalettes": [
    "midnight-blue"
  ],
  "generatedComparisons": [
    "midnight-blue-vs-sapphire-deep",
    "midnight-blue-vs-ultramarine",
    "navy-blue-vs-midnight-blue"
  ],
  "relatedFamilies": [
    "/colors/by-family/blue",
    "/colors/by-temperature/cool",
    "/colors/by-tone/dark",
    "/colors/by-tone/jewel-tone"
  ],
  "relatedTools": [
    "/harmonies/midnight-blue",
    "/wcag/midnight-blue",
    "/css/colors/midnight-blue",
    "/hex/191970"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/blue",
      "/colors/by-temperature/cool",
      "/colors/by-tone/dark",
      "/colors/by-tone/jewel-tone"
    ],
    "narrower": [
      "/palettes/midnight-blue"
    ],
    "related": [
      "/colors/sapphire-deep",
      "/colors/ultramarine",
      "/colors/navy",
      "/colors/navy-blue",
      "/colors/dark-blue",
      "/compare/midnight-blue-vs-sapphire-deep",
      "/compare/midnight-blue-vs-ultramarine",
      "/compare/navy-blue-vs-midnight-blue",
      "/harmonies/midnight-blue",
      "/wcag/midnight-blue",
      "/css/colors/midnight-blue",
      "/hex/191970"
    ]
  },
  "pairings": {
    "best": [
      "#FFFFFF",
      "#717119",
      "#194571",
      "#451971"
    ],
    "avoid": [
      "#282862",
      "#2929BC"
    ],
    "neutral": [
      "#1A1A1A",
      "#F5F5F5",
      "#E8E8E4"
    ],
    "highContrast": [
      "#FFFFFF"
    ],
    "lowContrast": [
      "#2929BC",
      "#282862"
    ]
  }
}

Color meaning and use

About Midnight Blue Color

Midnight Blue sits in the blue family with cool temperature and dark and jewel tone visual character. Standard CSS named color.

Its common associations include depth, focus, and mystery, which makes it relevant for premium interfaces and evening event design. In design work, Midnight Blue is most useful for luxury branding, night themes, and editorial design, especially when paired with white text for stronger contrast.

WCAG Accessibility

Contrast checks for Midnight Blue against black and white text.

Black text1.41:1AA Fail
White text14.85:1AA Pass
AA text options#FFFFFF, #F5F5F5
AAA text options#FFFFFF, #F5F5F5

Similar Colors

Color Harmonies

#717119#717119
#194571#194571
#451971#451971
#711919#711919
#197119#197119

Variants

#2929BC#2929BC
#080826#080826
#0A0A80#0A0A80
#282862#282862
#4949C1#4949C1
#0000B3#0000B3

Pairings

White#FFFFFF
#717119#717119
#194571#194571
#451971#451971
Matte Black#1A1A1A
White Smoke#F5F5F5