Skip to the color picker

#2f408a color: Blue Oblivion

#2f408a is rgb(47, 64, 138) in RGB and oklch(40.068% 0.12457 270.166) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

40.1%
0.125
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
9.45:1Readable · AA
Lc -96
Black text
2.22:1Hard to read
Lc 12

Shades

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

Harmonies

Open as palette

Recent

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

About #2f408a

#2f408a is a soft dark blue color. In OKLCH it has 40.1% lightness, 0.125 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Blue Oblivion (#26428b). In Tailwind CSS the closest color is blue-900.

More dark blue colors

Lighter: #2f408a mixed with white

  1. 2f408a
  2. 405396
  3. 5365a3
  4. 6678af
  5. 7b8aba
  6. 8f9dc6
  7. a5b0d2
  8. bbc4dd
  9. d1d7e9
  10. e8ebf4

Darker: #2f408a mixed with black

  1. 2f408a
  2. 273677
  3. 202d65
  4. 192453
  5. 121b42
  6. 0c1332
  7. 060b22
  8. 030514
  9. 010107
  10. 000001

Calmer: #2f408a with less saturation

  1. 2f408a
  2. 314284
  3. 33437d
  4. 364477
  5. 384570
  6. 3b466a
  7. 3d4763
  8. 40475c
  9. 434756
  10. 45484f

Questions about #2f408a

What color is #2f408a?

#2f408a is soft dark blue. The closest named color is Blue Oblivion. In RGB it is rgb(47, 64, 138), in HSL hsl(228.79, 49.19%, 36.27%) and in OKLCH oklch(40.068% 0.12457 270.166).

What colors go well with #2f408a?

The complementary color of #2f408a is #5d4400. For a calmer combination use the analogous colors #004d81 and #533380. The triadic partners are #7d251a and #00591f.

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

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

Is #2f408a a warm or cool color?

#2f408a is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.1% and its chroma 0.125.