Skip to the color picker

#1b123a color: Midnight Monarch

#1b123a is rgb(27, 18, 58) in RGB and oklch(22.041% 0.07394 289.251) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

253°
100%

22%
0.074
289°
  • Violet
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 77%

Inside sRGB: displays the same on any screen.

White text
17.58:1Readable · AA
Lc -107
Black text
1.19: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 #1b123a

#1b123a is a soft very dark violet color. In OKLCH it has 22% lightness, 0.074 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Midnight Monarch (#1c0f33). In Tailwind CSS the closest color is slate-900.

More very dark violet colors

Lighter: #1b123a mixed with white

Darker: #1b123a mixed with black

  1. 000000

Calmer: #1b123a with less saturation

Similar named colors

Colors that go with #1b123a

Complementary
Analogous
Triadic
Split

Questions about #1b123a

What color is #1b123a?

#1b123a is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(27, 18, 58), in HSL hsl(253.5, 52.63%, 14.9%) and in OKLCH oklch(22.041% 0.07394 289.251).

What colors go well with #1b123a?

The complementary color of #1b123a is #1e1c00. For a calmer combination use the analogous colors #04193c and #290c30. The triadic partners are #340c00 and #002415.

Is white or black text more readable on #1b123a?

White text reads better on #1b123a: white gives a contrast ratio of 17.58:1 and black gives 1.19:1. WCAG AA asks for at least 4.5:1 for body text.

Is #1b123a a warm or cool color?

#1b123a is a cool color. In OKLCH its hue is 289 degrees, its lightness 22% and its chroma 0.074.