Skip to the color picker

#2a3a7d color: Surf the Web

#2a3a7d is rgb(42, 58, 125) in RGB and oklch(37.462% 0.11498 269.942) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

37.5%
0.115
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
10.50:1Readable · AA
Lc -98
Black text
2.00:1Hard to read
Lc 10

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

#2a3a7d is a soft dark blue color. In OKLCH it has 37.5% lightness, 0.115 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Surf the Web (#20377f). In Tailwind CSS the closest color is blue-900.

More dark blue colors

Lighter: #2a3a7d mixed with white

Darker: #2a3a7d mixed with black

Calmer: #2a3a7d with less saturation

Similar named colors

Colors that go with #2a3a7d

Complementary
Analogous
Triadic
Split

Questions about #2a3a7d

What color is #2a3a7d?

#2a3a7d is soft dark blue. The closest named color is Surf the Web. In RGB it is rgb(42, 58, 125), in HSL hsl(228.43, 49.7%, 32.75%) and in OKLCH oklch(37.462% 0.11498 269.942).

What colors go well with #2a3a7d?

The complementary color of #2a3a7d is #543d00. For a calmer combination use the analogous colors #004676 and #4b2f74. The triadic partners are #722118 and #00511b.

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

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

Is #2a3a7d a warm or cool color?

#2a3a7d is a cool color. In OKLCH its hue is 270 degrees, its lightness 37.5% and its chroma 0.115.