Skip to the color picker

#301b5e color: Night Fog

#301b5e is rgb(48, 27, 94) in RGB and oklch(29.317% 0.11281 292.439) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

259°
100%

29.3%
0.113
292°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • violet-950
  • Black 63%

Inside sRGB: displays the same on any screen.

White text
14.54:1Readable · AA
Lc -104
Black text
1.44:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #301b5e

#301b5e is a soft very dark violet color. In OKLCH it has 29.3% lightness, 0.113 chroma and a hue of 292°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.54:1 contrast and black text 1.44:1, so white text reads better.

The closest named color is Night Fog (#2d1962). In Tailwind CSS the closest color is violet-950.

More very dark violet colors

Lighter: #301b5e mixed with white

Darker: #301b5e mixed with black

  1. 000000

Calmer: #301b5e with less saturation

Similar named colors

Colors that go with #301b5e

Complementary
Analogous
Triadic
Split

Questions about #301b5e

What color is #301b5e?

#301b5e is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(48, 27, 94), in HSL hsl(258.81, 55.37%, 23.73%) and in OKLCH oklch(29.317% 0.11281 292.439).

What colors go well with #301b5e?

The complementary color of #301b5e is #2e2f00. For a calmer combination use the analogous colors #092663 and #45104c. The triadic partners are #4f1800 and #003828.

Is white or black text more readable on #301b5e?

White text reads better on #301b5e: white gives a contrast ratio of 14.54:1 and black gives 1.44:1. WCAG AA asks for at least 4.5:1 for body text.

Is #301b5e a warm or cool color?

#301b5e is a cool color. In OKLCH its hue is 292 degrees, its lightness 29.3% and its chroma 0.113.