Skip to the color picker

#2a4271 color: Napoleonic Blue

#2a4271 is rgb(42, 66, 113) in RGB and oklch(38.429% 0.08581 262.603) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

220°
100%

38.4%
0.086
263°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Charcoal
  • sky-900
  • Black 56%

Inside sRGB: displays the same on any screen.

White text
9.92:1Readable · AA
Lc -97
Black text
2.12:1Hard to read
Lc 11

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

#2a4271 is a soft dark blue color. In OKLCH it has 38.4% lightness, 0.086 chroma and a hue of 263°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Napoleonic Blue (#2c4170). In Tailwind CSS the closest color is sky-900.

More dark blue colors

Lighter: #2a4271 mixed with white

  1. 2a4271
  2. 3d547f
  3. 50658d
  4. 64779b
  5. 798aa9
  6. 8e9db7
  7. a4b0c6
  8. bac3d4
  9. d0d7e2
  10. e8ebf1

Darker: #2a4271 mixed with black

  1. 2a4271
  2. 233861
  3. 1c2f52
  4. 162543
  5. 101c35
  6. 0a1427
  7. 050b1a
  8. 02050e
  9. 010104
  10. 000001

Calmer: #2a4271 with less saturation

  1. 2a4271
  2. 2d426d
  3. 2f4368
  4. 324364
  5. 35435f
  6. 37445b
  7. 3a4456
  8. 3c4452
  9. 3f444d
  10. 414448

Questions about #2a4271

What color is #2a4271?

#2a4271 is soft dark blue. The closest named color is Napoleonic Blue. In RGB it is rgb(42, 66, 113), in HSL hsl(219.72, 45.81%, 30.39%) and in OKLCH oklch(38.429% 0.08581 262.603).

What colors go well with #2a4271?

The complementary color of #2a4271 is #5a3e00. For a calmer combination use the analogous colors #004a69 and #45396d. The triadic partners are #6a2e2e and #254f22.

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

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

Is #2a4271 a warm or cool color?

#2a4271 is a cool color. In OKLCH its hue is 263 degrees, its lightness 38.4% and its chroma 0.086.