# #332d8b color: Cosmic Cobalt

#332d8b is rgb(51, 45, 139) in RGB and oklch(36.767% 0.15013 278.871) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #332d8b |
| RGB | rgb(51, 45, 139) |
| HSL | hsl(243.83, 51.09%, 36.08%) |
| HSB / HSV | hsv(243.83 67.63% 54.51%) |
| HWB | hwb(243.83 17.65% 45.49%) |
| CMYK | cmyk(63% 68% 0% 45%) |
| Lab | lab(24.27 26.18 -52.59) |
| LCH | lch(24.27 58.75 296.47) |
| OKLab | oklab(36.767% 0.02315 -0.14834) |
| OKLCH | oklch(36.767% 0.15013 278.871) |
| Display P3 | color(display-p3 0.19605 0.17731 0.52463) |
| Rec. 2020 | color(rec2020 0.16067 0.12537 0.47261) |
| Adobe RGB | color(a98-rgb 0.20652 0.19103 0.53108) |
| ProPhoto RGB | color(prophoto-rgb 0.21427 0.15143 0.43887) |
| Linear sRGB | color(srgb-linear 0.0331 0.02624 0.25818) |
| XYZ D65 | color(xyz-d65 0.06963 0.04445 0.24918) |
| XYZ D50 | color(xyz-d50 0.06148 0.04183 0.18738) |
| SwiftUI | Color(red: 0.2, green: 0.176, blue: 0.545) |
| UIKit | UIColor(red: 0.2, green: 0.176, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF332D8B) |
| Android XML | #332D8B |

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

#332d8b, #434398, #5458a4, #676cb0, #7a81bc, #8f95c8, #a4aad3, #babfde, #d1d4ea, #e8e9f4

## Shades

#332d8b, #2b2678, #231f66, #1c1854, #141143, #0d0b32, #070623, #030214, #010107, #000001

## Tones

#332d8b, #333184, #34347c, #353675, #36386d, #373a66, #383c5e, #3a3d57, #3b3e4f, #3d3e47

## Harmonies

- Complementary: #332d8b, #4c3f00
- Split: #332d8b, #603200, #2a4a00
- Analogous: #332d8b, #003f82, #561d79
- Triadic: #332d8b, #7a0c00, #004f28
- Tetradic: #332d8b, #6d0b59, #4c3f00, #004f28
- Square: #332d8b, #79002e, #4c3f00, #004c48
- Monochromatic: #332d8b, #06002d, #1b0165, #5051b2, #7175da

## Questions about #332d8b

### What color is #332d8b?

#332d8b is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(51, 45, 139), in HSL hsl(243.83, 51.09%, 36.08%) and in OKLCH oklch(36.767% 0.15013 278.871).

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

The complementary color of #332d8b is #4c3f00. For a calmer combination use the analogous colors #003f82 and #561d79. The triadic partners are #7a0c00 and #004f28.

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

White text reads better on #332d8b: 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 #332d8b a warm or cool color?

#332d8b is a cool color. In OKLCH its hue is 279 degrees, its lightness 36.8% and its chroma 0.15.
