# #312b85 color: Cosmic Cobalt

#312b85 is rgb(49, 43, 133) in RGB and oklch(35.706% 0.14489 279.091) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #312b85 |
| RGB | rgb(49, 43, 133) |
| HSL | hsl(244, 51.14%, 34.51%) |
| HSB / HSV | hsv(244 67.67% 52.16%) |
| HWB | hwb(244 16.86% 47.84%) |
| CMYK | cmyk(63% 68% 0% 48%) |
| Lab | lab(23.13 25.28 -50.73) |
| LCH | lch(23.13 56.68 296.49) |
| OKLab | oklab(35.706% 0.02289 -0.14307) |
| OKLCH | oklch(35.706% 0.14489 279.091) |
| Display P3 | color(display-p3 0.18821 0.16946 0.50194) |
| Rec. 2020 | color(rec2020 0.15121 0.11709 0.44848) |
| Adobe RGB | color(a98-rgb 0.19943 0.18398 0.50841) |
| ProPhoto RGB | color(prophoto-rgb 0.20402 0.14446 0.41613) |
| Linear sRGB | color(srgb-linear 0.03071 0.02416 0.23455) |
| XYZ D65 | color(xyz-d65 0.06364 0.04074 0.22642) |
| XYZ D50 | color(xyz-d50 0.05626 0.03837 0.17027) |
| SwiftUI | Color(red: 0.192, green: 0.169, blue: 0.522) |
| UIKit | UIColor(red: 0.192, green: 0.169, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF312B85) |
| Android XML | #312B85 |

## 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.57:1
- Contrast with black: 1.81:1

## Tints

#312b85, #414192, #52569f, #656aac, #797fb8, #8e94c4, #a3a8d1, #b9bedc, #d0d3e8, #e7e9f4

## Shades

#312b85, #292473, #221d61, #1a1650, #131040, #0c0a30, #060521, #030213, #010106, #000001

## Tones

#312b85, #312e7e, #323177, #333470, #333669, #353762, #36395a, #373a53, #393b4c, #3a3c44

## Harmonies

- Complementary: #312b85, #493c00
- Split: #312b85, #5c3000, #284700
- Analogous: #312b85, #003c7e, #521c74
- Triadic: #312b85, #750c00, #004c26
- Tetradic: #312b85, #680b55, #493c00, #004c26
- Square: #312b85, #74002c, #493c00, #004945
- Monochromatic: #312b85, #050029, #190060, #4e4fac, #6f73d3

## Questions about #312b85

### What color is #312b85?

#312b85 is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 43, 133), in HSL hsl(244, 51.14%, 34.51%) and in OKLCH oklch(35.706% 0.14489 279.091).

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

The complementary color of #312b85 is #493c00. For a calmer combination use the analogous colors #003c7e and #521c74. The triadic partners are #750c00 and #004c26.

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

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

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

#312b85 is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.7% and its chroma 0.145.
