Skip to the color picker

#2f40a5 color: Soft dark blue

#2f40a5 is rgb(47, 64, 165) in RGB and oklch(42.3% 0.16293 270.458) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

42.3%
0.163
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-800
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
8.76:1Readable · AA
Lc -94
Black text
2.40:1Hard to read
Lc 15

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 #2f40a5

#2f40a5 is a soft dark blue color. In OKLCH it has 42.3% lightness, 0.163 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Early Spring Night (#3c3fb1). In Tailwind CSS the closest color is blue-800.

More dark blue colors

Lighter: #2f40a5 mixed with white

Darker: #2f40a5 mixed with black

Calmer: #2f40a5 with less saturation

Similar named colors

  • Soulstone Blue#0047ab

Colors that go with #2f40a5

Complementary
Analogous
Triadic
Split

Questions about #2f40a5

What color is #2f40a5?

#2f40a5 is soft dark blue. The closest named color is Soft dark blue. In RGB it is rgb(47, 64, 165), in HSL hsl(231.36, 55.66%, 41.57%) and in OKLCH oklch(42.3% 0.16293 270.458).

What colors go well with #2f40a5?

The complementary color of #2f40a5 is #644a00. For a calmer combination use the analogous colors #00538b and #5e2e97. The triadic partners are #921204 and #00621b.

Is white or black text more readable on #2f40a5?

White text reads better on #2f40a5: white gives a contrast ratio of 8.76:1 and black gives 2.4:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2f40a5 a warm or cool color?

#2f40a5 is a cool color. In OKLCH its hue is 270 degrees, its lightness 42.3% and its chroma 0.163.