# #332c87 color: Cosmic Cobalt

#332c87 is rgb(51, 44, 135) in RGB and oklch(36.224% 0.14595 279.666) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/332c87

## Formats

| Format | Value |
| --- | --- |
| HEX | #332c87 |
| RGB | rgb(51, 44, 135) |
| HSL | hsl(244.62, 50.84%, 35.1%) |
| HSB / HSV | hsv(244.62 67.41% 52.94%) |
| HWB | hwb(244.62 17.25% 47.06%) |
| CMYK | cmyk(62% 67% 0% 47%) |
| Lab | lab(23.71 25.65 -51.02) |
| LCH | lch(23.71 57.1 296.69) |
| OKLab | oklab(36.224% 0.0245 -0.14388) |
| OKLCH | oklch(36.224% 0.14595 279.666) |
| Display P3 | color(display-p3 0.19543 0.17354 0.50955) |
| Rec. 2020 | color(rec2020 0.15766 0.12137 0.45658) |
| Adobe RGB | color(a98-rgb 0.20561 0.1875 0.51597) |
| ProPhoto RGB | color(prophoto-rgb 0.2093 0.14795 0.42375) |
| Linear sRGB | color(srgb-linear 0.0331 0.02519 0.24228) |
| XYZ D65 | color(xyz-d65 0.06639 0.04254 0.23394) |
| XYZ D50 | color(xyz-d50 0.0588 0.04011 0.17592) |
| SwiftUI | Color(red: 0.2, green: 0.173, blue: 0.529) |
| UIKit | UIColor(red: 0.2, green: 0.173, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF332C87) |
| Android XML | #332C87 |

## 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.35:1
- Contrast with black: 1.85:1

## Tints

#332c87, #434294, #5457a1, #676bad, #7b80b9, #8f94c6, #a4a9d1, #babedd, #d1d3e9, #e8e9f4

## Shades

#332c87, #2b2575, #231e63, #1c1751, #141141, #0d0a31, #070521, #030213, #010106, #000001

## Tones

#332c87, #332f80, #343279, #343572, #35376a, #363963, #373a5c, #393b55, #3a3c4d, #3c3d45

## Harmonies

- Complementary: #332c87, #4a3d00
- Split: #332c87, #5d3100, #284900
- Analogous: #332c87, #003d82, #551d75
- Triadic: #332c87, #760f00, #004e28
- Tetradic: #332c87, #6a0c55, #4a3d00, #004e28
- Square: #332c87, #77002c, #4a3d00, #004b47
- Monochromatic: #332c87, #06002a, #1b0162, #5050ae, #7174d6

## Questions about #332c87

### What color is #332c87?

#332c87 is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(51, 44, 135), in HSL hsl(244.62, 50.84%, 35.1%) and in OKLCH oklch(36.224% 0.14595 279.666).

### What colors go well with #332c87?

The complementary color of #332c87 is #4a3d00. For a calmer combination use the analogous colors #003d82 and #551d75. The triadic partners are #760f00 and #004e28.

### Is white or black text more readable on #332c87?

White text reads better on #332c87: white gives a contrast ratio of 11.35:1 and black gives 1.85:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #332c87 a warm or cool color?

#332c87 is a cool color. In OKLCH its hue is 280 degrees, its lightness 36.2% and its chroma 0.146.
