# #332e8b color: Cosmic Cobalt

#332e8b is rgb(51, 46, 139) in RGB and oklch(36.938% 0.14887 278.605) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #332e8b |
| RGB | rgb(51, 46, 139) |
| HSL | hsl(243.23, 50.27%, 36.27%) |
| HSB / HSV | hsv(243.23 66.91% 54.51%) |
| HWB | hwb(243.23 18.04% 45.49%) |
| CMYK | cmyk(63% 67% 0% 45%) |
| Lab | lab(24.51 25.57 -52.19) |
| LCH | lch(24.51 58.12 296.1) |
| OKLab | oklab(36.938% 0.02228 -0.1472) |
| OKLCH | oklch(36.938% 0.14887 278.605) |
| Display P3 | color(display-p3 0.19667 0.18108 0.5247) |
| Rec. 2020 | color(rec2020 0.16169 0.12876 0.47272) |
| Adobe RGB | color(a98-rgb 0.20744 0.19456 0.53112) |
| ProPhoto RGB | color(prophoto-rgb 0.21495 0.15379 0.43901) |
| Linear sRGB | color(srgb-linear 0.0331 0.02732 0.25818) |
| XYZ D65 | color(xyz-d65 0.07002 0.04522 0.24931) |
| XYZ D50 | color(xyz-d50 0.0619 0.0426 0.18748) |
| SwiftUI | Color(red: 0.2, green: 0.18, blue: 0.545) |
| UIKit | UIColor(red: 0.2, green: 0.18, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF332E8B) |
| Android XML | #332E8B |

## 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.03:1
- Contrast with black: 1.9:1

## Tints

#332e8b, #434498, #5458a4, #676db0, #7a81bc, #8f95c8, #a4aad3, #babfde, #d1d4e9, #e8e9f4

## Shades

#332e8b, #2b2778, #231f66, #1c1854, #141243, #0d0b32, #070623, #030214, #010107, #000001

## Tones

#332e8b, #333184, #34347c, #353775, #36396e, #373b66, #393c5f, #3a3d57, #3c3e4f, #3e3f48

## Harmonies

- Complementary: #332e8b, #4d3f00
- Split: #332e8b, #613300, #2b4a00
- Analogous: #332e8b, #004082, #561e7a
- Triadic: #332e8b, #7b0c00, #005028
- Tetradic: #332e8b, #6d0e59, #4d3f00, #005028
- Square: #332e8b, #7a002f, #4d3f00, #004d48
- Monochromatic: #332e8b, #06002e, #1b0265, #5052b2, #7176da

## Questions about #332e8b

### What color is #332e8b?

#332e8b is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(51, 46, 139), in HSL hsl(243.23, 50.27%, 36.27%) and in OKLCH oklch(36.938% 0.14887 278.605).

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

The complementary color of #332e8b is #4d3f00. For a calmer combination use the analogous colors #004082 and #561e7a. The triadic partners are #7b0c00 and #005028.

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

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

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

#332e8b is a cool color. In OKLCH its hue is 279 degrees, its lightness 36.9% and its chroma 0.149.
