# #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.

Source: https://pickshade.com/color/342d8a

## Formats

| Format | Value |
| --- | --- |
| HEX | #342d8a |
| RGB | rgb(52, 45, 138) |
| HSL | hsl(244.52, 50.82%, 35.88%) |
| HSB / HSV | hsv(244.52 67.39% 54.12%) |
| HWB | hwb(244.52 17.65% 45.88%) |
| CMYK | cmyk(62% 67% 0% 46%) |
| Lab | lab(24.28 26.1 -51.95) |
| LCH | lch(24.28 58.14 296.67) |
| OKLab | oklab(36.753% 0.02463 -0.14651) |
| OKLCH | oklch(36.753% 0.14857 279.541) |
| Display P3 | color(display-p3 0.19935 0.17746 0.5209) |
| Rec. 2020 | color(rec2020 0.16239 0.12551 0.46865) |
| Adobe RGB | color(a98-rgb 0.20916 0.19103 0.52731) |
| ProPhoto RGB | color(prophoto-rgb 0.21443 0.15145 0.43514) |
| Linear sRGB | color(srgb-linear 0.03434 0.02624 0.25415) |
| XYZ D65 | color(xyz-d65 0.06941 0.04442 0.24537) |
| XYZ D50 | color(xyz-d50 0.06144 0.04186 0.18452) |
| SwiftUI | Color(red: 0.204, green: 0.176, blue: 0.541) |
| UIKit | UIColor(red: 0.204, green: 0.176, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF342D8A) |
| Android XML | #342D8A |

## Facts

- Closest name: Cosmic Cobalt
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 11.12:1
- Contrast with black: 1.89:1

## Tints

#342d8a, #444397, #5558a3, #686caf, #7b80bb, #9095c7, #a5aad3, #babfde, #d1d4e9, #e8e9f4

## Shades

#342d8a, #2c2677, #241f65, #1c1853, #151142, #0e0b32, #070622, #030214, #010107, #000001

## Tones

#342d8a, #343183, #35347b, #353674, #36386d, #373a65, #393b5e, #3a3d56, #3c3e4f, #3d3e47

## Harmonies

- Complementary: #342d8a, #4c3f00
- Split: #342d8a, #5f3300, #294a00
- Analogous: #342d8a, #003f84, #561d78
- Triadic: #342d8a, #790f00, #004f29
- Tetradic: #342d8a, #6d0c57, #4c3f00, #004f29
- Square: #342d8a, #79002d, #4c3f00, #004c48
- Monochromatic: #342d8a, #07002d, #1c0164, #5151b1, #7275d9

## 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.
