Skip to the color picker

#342d8a color: Cosmic Cobalt

#342d8a is rgb(52, 45, 138) in RGB and oklch(36.753% 0.14857 279.541) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

245°
100%

36.8%
0.149
280°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • indigo-900
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
11.12:1Readable · AA
Lc -99
Black text
1.89:1Hard to read
Lc 9

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 #342d8a

#342d8a is a soft dark indigo color. In OKLCH it has 36.8% lightness, 0.149 chroma and a hue of 280°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.

More dark indigo colors

Lighter: #342d8a mixed with white

  1. 342d8a
  2. 444397
  3. 5558a3
  4. 686caf
  5. 7b80bb
  6. 9095c7
  7. a5aad3
  8. babfde
  9. d1d4e9
  10. e8e9f4

Darker: #342d8a mixed with black

  1. 342d8a
  2. 2c2677
  3. 241f65
  4. 1c1853
  5. 151142
  6. 0e0b32
  7. 070622
  8. 030214
  9. 010107
  10. 000001

Calmer: #342d8a with less saturation

  1. 342d8a
  2. 343183
  3. 35347b
  4. 353674
  5. 36386d
  6. 373a65
  7. 393b5e
  8. 3a3d56
  9. 3c3e4f
  10. 3d3e47

Questions about #342d8a

What color is #342d8a?

#342d8a is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(52, 45, 138), in HSL hsl(244.52, 50.82%, 35.88%) and in OKLCH oklch(36.753% 0.14857 279.541).

What colors go well with #342d8a?

The complementary color of #342d8a is #4c3f00. For a calmer combination use the analogous colors #003f84 and #561d78. The triadic partners are #790f00 and #004f29.

Is white or black text more readable on #342d8a?

White text reads better on #342d8a: white gives a contrast ratio of 11.12:1 and black gives 1.89:1. WCAG AA asks for at least 4.5:1 for body text.

Is #342d8a a warm or cool color?

#342d8a is a cool color. In OKLCH its hue is 280 degrees, its lightness 36.8% and its chroma 0.149.