# #312c85 color: Cosmic Cobalt

#312c85 is rgb(49, 44, 133) in RGB and oklch(35.88% 0.14362 278.812) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/312c85

## Formats

| Format | Value |
| --- | --- |
| HEX | #312c85 |
| RGB | rgb(49, 44, 133) |
| HSL | hsl(243.37, 50.28%, 34.71%) |
| HSB / HSV | hsv(243.37 66.92% 52.16%) |
| HWB | hwb(243.37 17.25% 47.84%) |
| CMYK | cmyk(63% 67% 0% 48%) |
| Lab | lab(23.37 24.66 -50.32) |
| LCH | lch(23.37 56.04 296.1) |
| OKLab | oklab(35.88% 0.022 -0.14192) |
| OKLCH | oklch(35.88% 0.14362 278.812) |
| Display P3 | color(display-p3 0.18884 0.17324 0.50202) |
| Rec. 2020 | color(rec2020 0.15223 0.12047 0.44858) |
| Adobe RGB | color(a98-rgb 0.20035 0.1875 0.50845) |
| ProPhoto RGB | color(prophoto-rgb 0.20469 0.14679 0.41627) |
| Linear sRGB | color(srgb-linear 0.03071 0.02519 0.23455) |
| XYZ D65 | color(xyz-d65 0.064 0.04148 0.22654) |
| XYZ D50 | color(xyz-d50 0.05665 0.03911 0.17037) |
| SwiftUI | Color(red: 0.192, green: 0.173, blue: 0.522) |
| UIKit | UIColor(red: 0.192, green: 0.173, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF312C85) |
| Android XML | #312C85 |

## 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.48:1
- Contrast with black: 1.83:1

## Tints

#312c85, #414292, #52569f, #656bac, #797fb8, #8e94c4, #a3a9d0, #b9bedc, #d0d3e8, #e7e9f4

## Shades

#312c85, #292573, #221e61, #1a1750, #131140, #0c0a30, #060521, #030213, #010106, #000001

## Tones

#312c85, #312f7e, #323277, #333470, #343669, #353862, #36395b, #383b53, #393b4c, #3b3c44

## Harmonies

- Complementary: #312c85, #493c00
- Split: #312c85, #5d3000, #294700
- Analogous: #312c85, #003d7e, #521d74
- Triadic: #312c85, #750c00, #004d26
- Tetradic: #312c85, #680d55, #493c00, #004d26
- Square: #312c85, #74002d, #493c00, #004a45
- Monochromatic: #312c85, #050029, #190160, #4e50ac, #6f74d3

## Questions about #312c85

### What color is #312c85?

#312c85 is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 44, 133), in HSL hsl(243.37, 50.28%, 34.71%) and in OKLCH oklch(35.88% 0.14362 278.812).

### What colors go well with #312c85?

The complementary color of #312c85 is #493c00. For a calmer combination use the analogous colors #003d7e and #521d74. The triadic partners are #750c00 and #004d26.

### Is white or black text more readable on #312c85?

White text reads better on #312c85: white gives a contrast ratio of 11.48:1 and black gives 1.83:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #312c85 a warm or cool color?

#312c85 is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.9% and its chroma 0.144.
