Skip to the color picker

#304f8e color: Nightly Activities

#304f8e is rgb(48, 79, 142) in RGB and oklch(43.727% 0.11037 262.914) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

220°
100%

43.7%
0.110
263°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • sky-800
  • Black 44%

Inside sRGB: displays the same on any screen.

White text
7.97:1Readable · AA
Lc -92
Black text
2.63:1Hard to read
Lc 17

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 #304f8e

#304f8e is a soft dark blue color. In OKLCH it has 43.7% lightness, 0.11 chroma and a hue of 263°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Nightly Activities (#2e5090). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #304f8e mixed with white

Darker: #304f8e mixed with black

Calmer: #304f8e with less saturation

Similar named colors

Colors that go with #304f8e

Complementary
Analogous
Triadic
Split

Questions about #304f8e

What color is #304f8e?

#304f8e is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(48, 79, 142), in HSL hsl(220.21, 49.47%, 37.25%) and in OKLCH oklch(43.727% 0.11037 262.914).

What colors go well with #304f8e?

The complementary color of #304f8e is #6e4a00. For a calmer combination use the analogous colors #005a84 and #554488. The triadic partners are #843434 and #266024.

Is white or black text more readable on #304f8e?

White text reads better on #304f8e: white gives a contrast ratio of 7.97:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.

Is #304f8e a warm or cool color?

#304f8e is a cool color. In OKLCH its hue is 263 degrees, its lightness 43.7% and its chroma 0.11.