# #312e7e color: Cosmic Cobalt

#312e7e is rgb(49, 46, 126) in RGB and oklch(35.61% 0.13115 279.062) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #312e7e |
| RGB | rgb(49, 46, 126) |
| HSL | hsl(242.25, 46.51%, 33.73%) |
| HSB / HSV | hsv(242.25 63.49% 49.41%) |
| HWB | hwb(242.25 18.04% 50.59%) |
| CMYK | cmyk(61% 63% 0% 51%) |
| Lab | lab(23.36 21.36 -45.95) |
| LCH | lch(23.36 50.68 294.93) |
| OKLab | oklab(35.61% 0.02066 -0.12952) |
| OKLCH | oklch(35.61% 0.13115 279.062) |
| Display P3 | color(display-p3 0.19013 0.1808 0.47597) |
| Rec. 2020 | color(rec2020 0.15097 0.12628 0.42107) |
| Adobe RGB | color(a98-rgb 0.20224 0.19456 0.48231) |
| ProPhoto RGB | color(prophoto-rgb 0.19882 0.14969 0.3908) |
| Linear sRGB | color(srgb-linear 0.03071 0.02732 0.20864) |
| XYZ D65 | color(xyz-d65 0.06009 0.04113 0.20217) |
| XYZ D50 | color(xyz-d50 0.05377 0.03907 0.15207) |
| SwiftUI | Color(red: 0.192, green: 0.18, blue: 0.494) |
| UIKit | UIColor(red: 0.192, green: 0.18, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF312E7E) |
| Android XML | #312E7E |

## 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.52:1
- Contrast with black: 1.82:1

## Tints

#312e7e, #41438c, #535799, #666ba6, #7a7fb3, #8f94c0, #a4a9cd, #babeda, #d0d3e6, #e7e9f3

## Shades

#312e7e, #29276d, #221f5c, #1a184c, #13123c, #0c0b2d, #06061f, #030211, #010105, #000001

## Tones

#312e7e, #313178, #323371, #33356b, #343664, #35385e, #363957, #373a51, #393b4a, #3a3c43

## Harmonies

- Complementary: #312e7e, #493c00
- Split: #312e7e, #5c3000, #284700
- Analogous: #312e7e, #003c7c, #50216f
- Triadic: #312e7e, #701500, #004c26
- Tetradic: #312e7e, #641552, #493c00, #004c26
- Square: #312e7e, #700d2d, #493c00, #004945
- Monochromatic: #312e7e, #050029, #180759, #4f51a4, #6f75cb

## Questions about #312e7e

### What color is #312e7e?

#312e7e is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 46, 126), in HSL hsl(242.25, 46.51%, 33.73%) and in OKLCH oklch(35.61% 0.13115 279.062).

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

The complementary color of #312e7e is #493c00. For a calmer combination use the analogous colors #003c7c and #50216f. The triadic partners are #701500 and #004c26.

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

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

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

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