# #0c1031 color: Spanish Roast

#0c1031 is rgb(12, 16, 49) in RGB and oklch(19.291% 0.06509 273.436) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c1031

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1031 |
| RGB | rgb(12, 16, 49) |
| HSL | hsl(233.51, 60.66%, 11.96%) |
| HSB / HSV | hsv(233.51 75.51% 19.22%) |
| HWB | hwb(233.51 4.71% 80.78%) |
| CMYK | cmyk(76% 67% 0% 81%) |
| Lab | lab(5.78 7.38 -22.64) |
| LCH | lch(5.78 23.81 288.05) |
| OKLab | oklab(19.291% 0.0039 -0.06497) |
| OKLCH | oklch(19.291% 0.06509 273.436) |
| Display P3 | color(display-p3 0.05009 0.06227 0.18423) |
| Rec. 2020 | color(rec2020 0.02404 0.02415 0.12074) |
| Adobe RGB | color(a98-rgb 0.08218 0.09136 0.20198) |
| ProPhoto RGB | color(prophoto-rgb 0.06828 0.05695 0.13514) |
| Linear sRGB | color(srgb-linear 0.00368 0.00518 0.03071) |
| XYZ D65 | color(xyz-d65 0.00891 0.0067 0.02988) |
| XYZ D50 | color(xyz-d50 0.00799 0.00639 0.02249) |
| SwiftUI | Color(red: 0.047, green: 0.063, blue: 0.192) |
| UIKit | UIColor(red: 0.047, green: 0.063, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1031) |
| Android XML | #0C1031 |

## Facts

- Closest name: Spanish Roast
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.52:1
- Contrast with black: 1.13:1

## Tints

#0c1031, #1e2444, #333a57, #49506b, #60677f, #797e93, #9297a8, #acb0bd, #c7cad3, #e3e4e9

## Shades

#0c1031, #090c29, #060922, #04061a, #030413, #02020c, #010106, #000003, #000001, #000000

## Tones

#0c1031, #0d112e, #0d122b, #0e1229, #0f1326, #101323, #111420, #12141d, #12141a, #131417

## Harmonies

- Complementary: #0c1031, #1d1300
- Split: #0c1031, #270b00, #0f1800
- Analogous: #0c1031, #00162f, #1b0b2c
- Triadic: #0c1031, #2b0501, #001c05
- Tetradic: #0c1031, #240620, #1d1300, #001c05
- Square: #0c1031, #2a0411, #1d1300, #001c17
- Monochromatic: #0c1031, #02021e, #02021e, #272e52, #454e75

## Questions about #0c1031

### What color is #0c1031?

#0c1031 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 16, 49), in HSL hsl(233.51, 60.66%, 11.96%) and in OKLCH oklch(19.291% 0.06509 273.436).

### What colors go well with #0c1031?

The complementary color of #0c1031 is #1d1300. For a calmer combination use the analogous colors #00162f and #1b0b2c. The triadic partners are #2b0501 and #001c05.

### Is white or black text more readable on #0c1031?

White text reads better on #0c1031: white gives a contrast ratio of 18.52:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0c1031 a warm or cool color?

#0c1031 is a cool color. In OKLCH its hue is 273 degrees, its lightness 19.3% and its chroma 0.065.
