# #312f7f color: Cosmic Cobalt

#312f7f is rgb(49, 47, 127) in RGB and oklch(35.884% 0.13122 278.592) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #312f7f |
| RGB | rgb(49, 47, 127) |
| HSL | hsl(241.5, 45.98%, 34.12%) |
| HSB / HSV | hsv(241.5 62.99% 49.8%) |
| HWB | hwb(241.5 18.43% 50.2%) |
| CMYK | cmyk(61% 63% 0% 50%) |
| Lab | lab(23.7 21.02 -46.04) |
| LCH | lch(23.7 50.61 294.54) |
| OKLab | oklab(35.884% 0.0196 -0.12975) |
| OKLCH | oklch(35.884% 0.13122 278.592) |
| Display P3 | color(display-p3 0.19079 0.18458 0.47981) |
| Rec. 2020 | color(rec2020 0.15253 0.12987 0.42514) |
| Adobe RGB | color(a98-rgb 0.20321 0.1981 0.4861) |
| ProPhoto RGB | color(prophoto-rgb 0.20057 0.15238 0.39461) |
| Linear sRGB | color(srgb-linear 0.03071 0.02843 0.21223) |
| XYZ D65 | color(xyz-d65 0.06113 0.04218 0.20571) |
| XYZ D50 | color(xyz-d50 0.05471 0.04008 0.15474) |
| SwiftUI | Color(red: 0.192, green: 0.184, blue: 0.498) |
| UIKit | UIColor(red: 0.192, green: 0.184, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF312F7F) |
| Android XML | #312F7F |

## 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.39:1
- Contrast with black: 1.84:1

## Tints

#312f7f, #41448c, #53589a, #666ca7, #7a80b4, #8f94c1, #a4a9cd, #babeda, #d0d3e6, #e7e9f3

## Shades

#312f7f, #29276e, #22205d, #1a194c, #13123c, #0c0c2d, #06061f, #030311, #010106, #000001

## Tones

#312f7f, #323279, #323472, #33366c, #343765, #35395f, #373a58, #383b51, #393c4b, #3b3c44

## Harmonies

- Complementary: #312f7f, #4a3c00
- Split: #312f7f, #5d3000, #294700
- Analogous: #312f7f, #003d7d, #502270
- Triadic: #312f7f, #711600, #004d26
- Tetradic: #312f7f, #651653, #4a3c00, #004d26
- Square: #312f7f, #700e2f, #4a3c00, #004a45
- Monochromatic: #312f7f, #050029, #18085a, #4f52a5, #6f76cc

## Questions about #312f7f

### What color is #312f7f?

#312f7f is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 47, 127), in HSL hsl(241.5, 45.98%, 34.12%) and in OKLCH oklch(35.884% 0.13122 278.592).

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

The complementary color of #312f7f is #4a3c00. For a calmer combination use the analogous colors #003d7d and #502270. The triadic partners are #711600 and #004d26.

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

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

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

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