Skip to the color picker

#2d40ac color: Denim

#2d40ac is rgb(45, 64, 172) in RGB and oklch(42.814% 0.17296 269.717) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

42.8%
0.173
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-800
  • Black 33%

Inside sRGB: displays the same on any screen.

White text
8.60:1Readable · AA
Lc -94
Black text
2.44:1Hard to read
Lc 15

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

#2d40ac is a soft dark blue color. In OKLCH it has 42.8% lightness, 0.173 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Denim (#2243b6). In Tailwind CSS the closest color is blue-800.

More dark blue colors

Lighter: #2d40ac mixed with white

  1. 2d40ac
  2. 3e55b6
  3. 5068bf
  4. 647bc8
  5. 788ed1
  6. 8da1da
  7. a3b3e2
  8. b9c6ea
  9. d0d9f1
  10. e7ecf8

Darker: #2d40ac mixed with black

  1. 2d40ac
  2. 263695
  3. 1f2d7f
  4. 182469
  5. 111b54
  6. 0b1340
  7. 060b2d
  8. 02051b
  9. 01010b
  10. 000001

Calmer: #2d40ac with less saturation

  1. 2d40ac
  2. 3043a3
  3. 33469a
  4. 364991
  5. 394a88
  6. 3d4c7f
  7. 404d75
  8. 444e6c
  9. 484f63
  10. 4b4f59

Questions about #2d40ac

What color is #2d40ac?

#2d40ac is soft dark blue. The closest named color is Denim. In RGB it is rgb(45, 64, 172), in HSL hsl(231.02, 58.53%, 42.55%) and in OKLCH oklch(42.814% 0.17296 269.717).

What colors go well with #2d40ac?

The complementary color of #2d40ac is #664b00. For a calmer combination use the analogous colors #00558c and #602d9e. The triadic partners are #980500 and #006418.

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

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

Is #2d40ac a warm or cool color?

#2d40ac is a cool color. In OKLCH its hue is 270 degrees, its lightness 42.8% and its chroma 0.173.